From 4a5db373d16b50ef6334a083e6578334f695dd16 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 8 Dec 2016 08:42:35 -0500 Subject: [PATCH] evas-drm: Remove unused variables and fix build break Seems Cedric's patch for refactoring setup stage broke building for the evas drm engine. This patches fixes the issue. ref 73b308fb66f871b93ef8e324997872e3bf175906 Signed-off-by: Chris Michael --- src/modules/evas/engines/drm/evas_engine.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c index 6cbc067..810faa7 100644 --- a/src/modules/evas/engines/drm/evas_engine.c +++ b/src/modules/evas/engines/drm/evas_engine.c @@ -75,7 +75,6 @@ eng_info_free(Evas *evas EINA_UNUSED, void *einfo) static void * eng_setup(void *einfo, unsigned int w, unsigned int h) { - Render_Engine *re; Evas_Engine_Info_Drm *info = einfo; return _render_engine_setup(info, w, h); @@ -86,14 +85,12 @@ eng_update(void *data, void *einfo, unsigned int w, unsigned int h) { Evas_Engine_Info_Drm *info = einfo; Render_Engine *re = data; - Outbuf *ob; _outbuf_reconfigure(re->generic.ob, w, h, info->info.rotation, info->info.depth); - if (!ob) return 0; - evas_render_engine_software_generic_update(&re->generic, ob, - ob->w, ob->h); + evas_render_engine_software_generic_update(&re->generic, + re->generic.ob, w, h); return 1; } -- 2.7.4