aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2016-08-02 20:07:49 +0900
committerChad Versace <[email protected]>2016-08-08 11:40:26 -0700
commitc6c26bc589f57c083f040ad70d1606cfa382c66a (patch)
treebd7f5f6cabf100fa910c5a9bf46c0bc7ac1a3bbb /src
parent52fcc40760d943e071536787cf3c49778c502706 (diff)
egl/android: Remove unused variables in droid_get_buffers_with_format()
Fix compilation warnings due to unused variables left after some earlier code changes. Signed-off-by: Tomasz Figa <[email protected]> Tested-by: Rob Herring <[email protected]> Reviewed-by: Chad Versace <[email protected]> Change-Id: Iec09eb2a62887f3a38dff156756ed8385f3f3447
Diffstat (limited to 'src')
-rw-r--r--src/egl/drivers/dri2/platform_android.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index e3d5f0bf4c9..124a30c72f7 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -635,9 +635,6 @@ droid_get_buffers_with_format(__DRIdrawable * driDrawable,
int *out_count, void *loaderPrivate)
{
struct dri2_egl_surface *dri2_surf = loaderPrivate;
- struct dri2_egl_display *dri2_dpy =
- dri2_egl_display(dri2_surf->base.Resource.Display);
- int i;
if (update_buffers(dri2_surf) < 0)
return NULL;