summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-03 15:07:53 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-09 14:56:58 -0500
commitafd65a8a99592de563bd6c3afac015b259c6aa0c (patch)
tree36695d75d05234fd5a812be1890248b1efc7cb1e /src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
parentd8a9b895bb3c3e70c4b56441c0c34b981381a8d0 (diff)
ecore_drm2: Merge ecore_drm2_device_free and _close
There's no reason to have them be separate, all callers must do them back to back, so let's just combine them.
Diffstat (limited to 'src/modules/ecore_evas/engines/drm/ecore_evas_drm.c')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index c8714ac1b9..be1bd38567 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -180,7 +180,6 @@ _ecore_evas_drm_init(Ecore_Evas *ee, Ecore_Evas_Engine_Drm_Data *edata, const ch
180output_err: 180output_err:
181 ecore_drm2_device_close(edata->dev); 181 ecore_drm2_device_close(edata->dev);
182open_err: 182open_err:
183 ecore_drm2_device_free(edata->dev);
184 ecore_drm2_shutdown(); 183 ecore_drm2_shutdown();
185init_err: 184init_err:
186 return --_drm_init_count; 185 return --_drm_init_count;
@@ -194,7 +193,6 @@ _ecore_evas_drm_shutdown(Ecore_Evas_Engine_Drm_Data *edata)
194 193
195 ecore_drm2_outputs_destroy(edata->dev); 194 ecore_drm2_outputs_destroy(edata->dev);
196 ecore_drm2_device_close(edata->dev); 195 ecore_drm2_device_close(edata->dev);
197 ecore_drm2_device_free(edata->dev);
198 ecore_drm2_shutdown(); 196 ecore_drm2_shutdown();
199 ecore_event_evas_shutdown(); 197 ecore_event_evas_shutdown();
200 EINA_LIST_FREE(handlers, h) 198 EINA_LIST_FREE(handlers, h)