mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
gfxstream: nuke ErrorLog.h
Another day, another code nuke. ALOGE(..) or mesa_loge(..) is better. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
parent
05dac426a7
commit
e13526ca2b
1 changed files with 0 additions and 4 deletions
|
|
@ -20,8 +20,6 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ErrorLog.h"
|
||||
|
||||
namespace gfxstream {
|
||||
namespace guest {
|
||||
|
||||
|
|
@ -71,7 +69,6 @@ public:
|
|||
|
||||
if (m_iostreamBuf && len > m_free) {
|
||||
if (flush() < 0) {
|
||||
ERR("Failed to flush in alloc\n");
|
||||
return NULL; // we failed to flush so something is wrong
|
||||
}
|
||||
}
|
||||
|
|
@ -80,7 +77,6 @@ public:
|
|||
size_t allocLen = this->idealAllocSize(len);
|
||||
m_iostreamBuf = (unsigned char *)allocBuffer(allocLen);
|
||||
if (!m_iostreamBuf) {
|
||||
ERR("Alloc (%zu bytes) failed\n", allocLen);
|
||||
return NULL;
|
||||
}
|
||||
m_bufsize = m_free = allocLen;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue