From 8f019a4ef75f9271e5fdc29fea94bc00151403f1 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 19 Apr 2020 00:57:43 +0100 Subject: [PATCH] comp wl - fix sync with dmabuf code to not have early return coverity pointed out dead code - code wss actually wrong. it'd have skippedlinear on older proto fix CID 1425218 --- src/bin/e_comp_wl_dmabuf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bin/e_comp_wl_dmabuf.c b/src/bin/e_comp_wl_dmabuf.c index c9eb41e90..55900061d 100644 --- a/src/bin/e_comp_wl_dmabuf.c +++ b/src/bin/e_comp_wl_dmabuf.c @@ -490,9 +490,6 @@ bind_linux_dmabuf(struct wl_client *client, void *data, uint32_t version, uint32 wl_resource_set_implementation(resource, &linux_dmabuf_implementation, compositor, NULL); - if (version < ZWP_LINUX_DMABUF_V1_MODIFIER_SINCE_VERSION) - return; - /* * Use EGL_EXT_image_dma_buf_import_modifiers to query and advertise * format/modifier codes.