summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-04-20 11:47:55 -0400
committerChris Michael <cp.michael@samsung.com>2015-04-20 11:47:55 -0400
commitd625167e0707cca3648e9933ef65936043372447 (patch)
tree19f6e2b9cd15088d70368b6130a7fae187f39104 /src/lib
parentc7999fbf4252e29b36a1c648cd08e1895295cf0b (diff)
ecore-drm: Remove 'defined but not used' function
Summary: As we no longer require the idler to repaint outputs, comment out the function that was defined for the idler. NB: I left it commented (and not totally removed) just in case it is needed for a later (undiscovered) issue @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib')
-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 e6a5c00a79..abc3e5ab98 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
89static Eina_Bool 89/* static 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)