wayland-drm: remove unused wayland_drm_buffer_get_{format,buffer}
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 1 Sep 2017 10:26:11 +0000 (11:26 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 19 Sep 2017 18:02:34 +0000 (19:02 +0100)
Unused anywhere throughout the codebase. We could start using it,
although that contradicts to an evil plan* of mine.

* Only wayland servers will make use of the static library, providing
actual distinction between server vs client.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/wayland/wayland-drm/wayland-drm.c
src/egl/wayland/wayland-drm/wayland-drm.h

index 4fc12521d249019e6ec6b79dc60479670f488da5..fc33e4d8fc97c8ca2953cf60d6845eadb4214c48 100644 (file)
@@ -292,15 +292,3 @@ wayland_drm_uninit(struct wl_drm *drm)
 
        free(drm);
 }
-
-uint32_t
-wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer)
-{
-       return buffer->format;
-}
-
-void *
-wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer)
-{
-       return buffer->driver_buffer;
-}
index 72575d81cca6b1c917ca83b70c69171ab5023fca..38f711e067b87d495802477f9c5d024618813e62 100644 (file)
@@ -38,10 +38,4 @@ wayland_drm_init(struct wl_display *display, char *device_name,
 void
 wayland_drm_uninit(struct wl_drm *drm);
 
-uint32_t
-wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer);
-
-void *
-wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer);
-
 #endif