egl/android: Remove unused variables in droid_get_buffers_with_format()
authorTomasz Figa <tfiga@chromium.org>
Tue, 2 Aug 2016 11:07:49 +0000 (20:07 +0900)
committerChad Versace <chad@kiwitree.net>
Mon, 8 Aug 2016 18:40:26 +0000 (11:40 -0700)
Fix compilation warnings due to unused variables left after some earlier
code changes.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Tested-by: Rob Herring <rob@kernel.org>
Reviewed-by: Chad Versace <chad@kiwitree.net>
Change-Id: Iec09eb2a62887f3a38dff156756ed8385f3f3447

src/egl/drivers/dri2/platform_android.c

index e3d5f0bf4c9b5d0dab8490385e91f2cbeccd077b..124a30c72f73cd0f6f05e03fab619c952868fb94 100644 (file)
@@ -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;