From c6c26bc589f57c083f040ad70d1606cfa382c66a Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Tue, 2 Aug 2016 20:07:49 +0900 Subject: [PATCH] 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 Tested-by: Rob Herring Reviewed-by: Chad Versace Change-Id: Iec09eb2a62887f3a38dff156756ed8385f3f3447 --- src/egl/drivers/dri2/platform_android.c | 3 --- 1 file changed, 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; -- 2.30.2