From e13526ca2bf7cfcc361ebe8db4b600c28ba277e1 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Fri, 16 Aug 2024 07:56:11 -0700 Subject: [PATCH] gfxstream: nuke ErrorLog.h Another day, another code nuke. ALOGE(..) or mesa_loge(..) is better. Reviewed-by: Aaron Ruby Acked-by: Yonggang Luo Acked-by: Adam Jackson Part-of: --- .../guest/iostream/include/gfxstream/guest/IOStream.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gfxstream/guest/iostream/include/gfxstream/guest/IOStream.h b/src/gfxstream/guest/iostream/include/gfxstream/guest/IOStream.h index 60128381b03..a23f90dfa9e 100644 --- a/src/gfxstream/guest/iostream/include/gfxstream/guest/IOStream.h +++ b/src/gfxstream/guest/iostream/include/gfxstream/guest/IOStream.h @@ -20,8 +20,6 @@ #include #include -#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;