evas-drm: Remove useless fields from Outbuf structure
authorChris Michael <cp.michael@samsung.com>
Tue, 2 Jun 2015 13:24:22 +0000 (09:24 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 2 Jun 2015 13:24:22 +0000 (09:24 -0400)
Summary: These fields are not needed in the outbuf structure as they
are never used, so just remove them.

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

index bb6144e..d513911 100644 (file)
@@ -50,8 +50,6 @@ struct _Outbuf
 
         Eina_List *pending_writes;
 
-        unsigned int crtc_id, conn_id, buffer_id;
-
         int curr, last, num;
      } priv;
 
index 3530087..ad87b99 100644 (file)
@@ -62,10 +62,6 @@ evas_outbuf_setup(Evas_Engine_Info_Drm *info, int w, int h)
    ob->destination_alpha = info->info.destination_alpha;
    ob->vsync = info->info.vsync;
 
-   ob->priv.crtc_id = info->info.crtc_id;
-   ob->priv.conn_id = info->info.conn_id;
-   ob->priv.buffer_id = info->info.buffer_id;
-
    /* default to double-buffer */
    ob->priv.num = 2;