From a4f106b4e9acf931d707e34270d9e08b6b09e993 Mon Sep 17 00:00:00 2001 From: Hendrik Wagenaar Date: Wed, 31 May 2017 15:04:04 -0700 Subject: [PATCH] Remove error when trying to get a global buffer that doesn't exist * Calling Get on a missing buffer isn't system error, The error should be handled by the caller Bug: None Test: None Change-Id: I0a49a4d104e9db025f4cfd213182f565d141bbf8 --- libs/vr/libdvr/dvr_surface.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/vr/libdvr/dvr_surface.cpp b/libs/vr/libdvr/dvr_surface.cpp index 2affacdfda..0f4749d482 100644 --- a/libs/vr/libdvr/dvr_surface.cpp +++ b/libs/vr/libdvr/dvr_surface.cpp @@ -171,8 +171,6 @@ int dvrGetGlobalBuffer(DvrGlobalBufferKey key, DvrBuffer** out_buffer) { auto status = client->GetGlobalBuffer(key); if (!status) { - ALOGE("dvrGetGlobalBuffer: Failed to find named buffer key=%d: %s", key, - status.GetErrorMessage().c_str()); return -status.error(); } *out_buffer = CreateDvrBufferFromIonBuffer(status.take()); -- 2.11.0