ecore-drm: Remove unused function
authorChris Michael <cp.michael@samsung.com>
Thu, 5 Nov 2015 14:37:48 +0000 (09:37 -0500)
committerChris Michael <cp.michael@samsung.com>
Thu, 5 Nov 2015 14:37:48 +0000 (09:37 -0500)
As we no longer have an fd handler to listen on the drm fd, we don't
need this function anymore

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_device.c

index 128561441be402a35a5176b0a181429a55dcec81..3e70d240480c889d60902f14c1bd518d2a79fb31 100644 (file)
@@ -75,20 +75,6 @@ _ecore_drm_device_cb_vblank(int fd EINA_UNUSED, unsigned int frame EINA_UNUSED,
    if (!output->pending_flip) _ecore_drm_output_frame_finish(output);
 }
 
-static Eina_Bool 
-_ecore_drm_device_cb_event(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
-{
-   Ecore_Drm_Device *dev;
-
-   if (!(dev = data)) return ECORE_CALLBACK_RENEW;
-
-   /* DBG("Drm Device Event"); */
-
-   drmHandleEvent(dev->drm.fd, &dev->drm_ctx);
-
-   return ECORE_CALLBACK_RENEW;
-}
-
 #if 0
 static Eina_Bool 
 _ecore_drm_device_cb_idle(void *data)