summaryrefslogtreecommitdiffstats
path: root/gralloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc.cpp')
-rw-r--r--gralloc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gralloc.cpp b/gralloc.cpp
index 01a1c6f..ec7638f 100644
--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -117,8 +117,6 @@ static int gbm_mod_perform(const struct gralloc_module_t *mod, int op, ...)
/* TODO: This is a stub and should be implemented fully */
case GRALLOC_MODULE_PERFORM_GET_USAGE:
{
- int *buffer_usage = va_arg(args, int *);
- *buffer_usage = 0;
err = 0;
}
break;