ecore_drm2: Stop using the old per output release callbacks
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 15 Jun 2017 18:03:16 +0000 (13:03 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 23 Jun 2017 13:15:40 +0000 (08:15 -0500)
src/lib/ecore_drm2/ecore_drm2_fb.c

index bd81889..ddd7c3e 100644 (file)
@@ -242,13 +242,12 @@ ecore_drm2_fb_dirty(Ecore_Drm2_Fb *fb, Eina_Rectangle *rects, unsigned int count
 #endif
 }
 
+/* perhaps output is no longer a necessary parameter for this function */
 void
-_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output, Ecore_Drm2_Output_State *s)
+_ecore_drm2_fb_buffer_release(Ecore_Drm2_Output *output EINA_UNUSED, Ecore_Drm2_Output_State *s)
 {
    Ecore_Drm2_Fb *fb = s->fb;
 
-   if (output->release_cb) output->release_cb(output->release_data, s->fb);
-
    if (fb->status_handler)
      fb->status_handler(fb, ECORE_DRM2_FB_STATUS_RELEASE, fb->status_data);