evas-gl_drm: Remove set but unused variable
authorChris Michael <cp.michael@samsung.com>
Tue, 17 Nov 2015 21:07:14 +0000 (16:07 -0500)
committerChris Michael <cp.michael@samsung.com>
Tue, 17 Nov 2015 21:07:14 +0000 (16:07 -0500)
Variable 'osurface' is not actually being used inside the code here,
so remove it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/gl_drm/evas_outbuf.c

index 8c93988..084e8d9 100644 (file)
@@ -536,7 +536,6 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth)
    Evas_Public_Data *epd;
    Evas_Engine_Info_GL_Drm *einfo;
    Render_Engine *re;
-   struct gbm_surface *osurface;
    Outbuf *nob;
 
    if (depth == OUTBUF_DEPTH_INHERIT) depth = ob->depth;
@@ -548,7 +547,6 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth)
    EINA_SAFETY_ON_NULL_RETURN(re);
 
    einfo = ob->info;
-   osurface = ob->surface;
 
    if ((ob->rotation == 0) || (ob->rotation == 180))
      nob = evas_outbuf_new(einfo, w, h, ob->swap_mode);