diff options
-rw-r--r-- | src/egl/wayland/wayland-drm/wayland-drm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c index 2f5acb217d1..e9c6e0a6507 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.c +++ b/src/egl/wayland/wayland-drm/wayland-drm.c @@ -247,8 +247,6 @@ bind_drm(struct wl_client *client, void *data, uint32_t version, uint32_t id) struct wl_drm_buffer * wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) { - struct wl_drm_buffer *buffer; - if (resource == NULL) return NULL; |