summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-07-18 16:46:51 +0100
committerRob Herring <robh@kernel.org>2016-12-13 09:43:49 -0600
commit23751354706108e63d0bdeeda2e77fe55521ae31 (patch)
tree88330a55420883088d507cf0af14a906fd8d45a0
parent78e8025473ceed0317ca1a065df66c105d778643 (diff)
downloadgbm_gralloc-23751354706108e63d0bdeeda2e77fe55521ae31.tar.gz
gbm_gralloc-23751354706108e63d0bdeeda2e77fe55521ae31.tar.xz
Kill off unused variable
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--gralloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc.cpp b/gralloc.cpp
index d8f2abd..01a1c6f 100644
--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -243,7 +243,7 @@ static int gbm_mod_alloc_gpu0(alloc_device_t *dev,
{
struct gbm_module_t *dmod = (struct gbm_module_t *) dev->common.module;
struct gralloc_gbm_bo_t *bo;
- int size, err = 0;
+ int err = 0;
pthread_mutex_lock(&dmod->mutex);