From: Cedric BAIL Date: Fri, 25 Aug 2017 17:49:32 +0000 (-0700) Subject: evas: refactor drm engine to have useless function redirection. X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2989 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b95fdbfd31fd556ccfb867f60860f5f2d4279fa;p=platform%2Fupstream%2Fefl.git evas: refactor drm engine to have useless function redirection. --- diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c index 6a4c7ee..5779c52 100644 --- a/src/modules/evas/engines/drm/evas_engine.c +++ b/src/modules/evas/engines/drm/evas_engine.c @@ -18,9 +18,10 @@ static Evas_Func func, pfunc; int _evas_engine_drm_log_dom; -static Render_Engine * -_render_engine_setup(Evas_Engine_Info_Drm *info, int w, int h) +static void * +eng_output_setup(void *engine EINA_UNUSED, void *einfo, unsigned int w, unsigned int h) { + Evas_Engine_Info_Drm *info = einfo; Render_Engine *re; Outbuf *ob; @@ -65,14 +66,6 @@ eng_output_info_setup(void *info) einfo->render_mode = EVAS_RENDER_MODE_BLOCKING; } -static void * -eng_output_setup(void *engine EINA_UNUSED, void *einfo, unsigned int w, unsigned int h) -{ - Evas_Engine_Info_Drm *info = einfo; - - return _render_engine_setup(info, w, h); -} - static int eng_output_update(void *engine EINA_UNUSED, void *data, void *einfo, unsigned int w, unsigned int h) {