Don't query unused values

lock() will be removing these params in the future and they are
unused anyway, so remove them

Test: make
Change-Id: I339c3b9ffa8e7a9cef50d1d80c8cd1a7d0950d82
This commit is contained in:
John Reck
2024-01-10 21:43:58 -05:00
parent 01a1cb884f
commit 0183e379d6
2 changed files with 2 additions and 6 deletions

View File

@@ -630,10 +630,7 @@ int colorFormatConversion(BufferInfo* buffer, buffer_handle_t buff, PixelFormat
if (error != android::NO_ERROR) return 1;
} else {
void* data;
int32_t outBytesPerPixel;
int32_t outBytesPerStride;
error = gbmapper.lock(buff, buffer->omxBuffer.attr.anwBuffer.usage, rect, &data,
&outBytesPerPixel, &outBytesPerStride);
error = gbmapper.lock(buff, buffer->omxBuffer.attr.anwBuffer.usage, rect, &data);
EXPECT_EQ(error, android::NO_ERROR);
if (error != android::NO_ERROR) return 1;