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 73b308fb66

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-12-08 08:42:35 -05:00
parent 2d2dc4de4b
commit 4a5db373d1
1 changed files with 2 additions and 5 deletions

View File

@ -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;
}