OSDN Git Service

Drop unused variable
authorKevin Strasser <kevin.strasser@intel.com>
Thu, 17 May 2018 23:37:08 +0000 (16:37 -0700)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Fri, 18 May 2018 01:50:32 +0000 (18:50 -0700)
outReleaseFence is never used, just drop it.

Jira: GSE-1597
Test: Build and boot on Android

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>
cros_gralloc/gralloc1/cros_gralloc1_module.cc

index b7bce51..2ce8b36 100644 (file)
@@ -418,7 +418,6 @@ int32_t CrosGralloc1::lockFlex(buffer_handle_t bufferHandle,
                               struct android_flex_layout *outData, int32_t acquireFence)
 {
        int32_t ret = -EINVAL;
-       int32_t outReleaseFence = 0;
        struct android_ycbcr ycbcrData;
 
        /*Check the format and support only for YUV format */