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:
committed by
Marge Bot
parent
05dac426a7
commit
e13526ca2b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user