summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-20 12:14:27 -0400
committerChris Michael <cp.michael@samsung.com>2015-04-20 12:14:27 -0400
commit61959106988072835b6a498edfa7c36f316d326c (patch)
tree9eddcb74e42d1d5b34ac9f7def6be93899c6f500 /src
parentd625167e0707cca3648e9933ef65936043372447 (diff)
Revert "ecore-drm: Remove 'defined but not used' function"
This reverts commit d625167e0707cca3648e9933ef65936043372447. Reverting this to use #if 0 as suggested by q66
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index abc3e5ab98..e6a5c00a79 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -86,26 +86,26 @@ _ecore_drm_device_cb_event(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
86 return ECORE_CALLBACK_RENEW; 86 return ECORE_CALLBACK_RENEW;
87} 87}
88 88
89/* static Eina_Bool */ 89static Eina_Bool
90/* _ecore_drm_device_cb_idle(void *data) */ 90_ecore_drm_device_cb_idle(void *data)
91/* { */ 91{
92/* Ecore_Drm_Device *dev; */ 92 Ecore_Drm_Device *dev;
93/* Ecore_Drm_Output *output; */ 93 Ecore_Drm_Output *output;
94/* Eina_List *l; */ 94 Eina_List *l;
95 95
96/* if (!(dev = data)) return ECORE_CALLBACK_CANCEL; */ 96 if (!(dev = data)) return ECORE_CALLBACK_CANCEL;
97 97
98/* if (!dev->active) return ECORE_CALLBACK_RENEW; */ 98 if (!dev->active) return ECORE_CALLBACK_RENEW;
99 99
100/* EINA_LIST_FOREACH(dev->outputs, l, output) */ 100 EINA_LIST_FOREACH(dev->outputs, l, output)
101/* { */ 101 {
102/* if ((!output->enabled) || (!output->need_repaint)) continue; */ 102 if ((!output->enabled) || (!output->need_repaint)) continue;
103/* if (output->repaint_scheduled) continue; */ 103 if (output->repaint_scheduled) continue;
104/* _ecore_drm_output_repaint_start(output); */ 104 _ecore_drm_output_repaint_start(output);
105/* } */ 105 }
106 106
107/* return ECORE_CALLBACK_RENEW; */ 107 return ECORE_CALLBACK_RENEW;
108/* } */ 108}
109 109
110static void 110static void
111_ecore_drm_device_cb_output_event(const char *device EINA_UNUSED, Eeze_Udev_Event event EINA_UNUSED, void *data, Eeze_Udev_Watch *watch EINA_UNUSED) 111_ecore_drm_device_cb_output_event(const char *device EINA_UNUSED, Eeze_Udev_Event event EINA_UNUSED, void *data, Eeze_Udev_Watch *watch EINA_UNUSED)