tpl_wayland_egl: Deleted unused listener to resolve build warning. 25/134225/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Thu, 15 Jun 2017 08:53:28 +0000 (17:53 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Thu, 15 Jun 2017 08:53:28 +0000 (17:53 +0900)
Change-Id: I10a524f2a1a452a31c3089f68dfc36ebbf04ff4c
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl.c

index 0404064..2943ab7 100644 (file)
@@ -68,7 +68,6 @@ struct _tpl_wayland_egl_buffer {
        struct wl_proxy *wl_proxy; /* wl_buffer proxy */
 };
 
-static const struct wl_callback_listener sync_listener;
 static const struct wl_buffer_listener buffer_release_listener;
 
 static int tpl_wayland_egl_buffer_key;
@@ -1314,24 +1313,6 @@ __tpl_surface_init_backend_wayland_egl(tpl_surface_backend_t *backend)
 }
 
 static void
-__cb_client_sync_callback(void *data, struct wl_callback *callback,
-                                                 uint32_t serial)
-{
-       int *done;
-
-       TPL_ASSERT(data);
-
-       done = data;
-       *done = 1;
-
-       wl_callback_destroy(callback);
-}
-
-static const struct wl_callback_listener sync_listener = {
-       __cb_client_sync_callback
-};
-
-static void
 __cb_client_buffer_release_callback(void *data, struct wl_proxy *proxy)
 {
        tbm_surface_h tbm_surface = NULL;