summaryrefslogtreecommitdiff
path: root/src/vulkan/wsi/wsi_common_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/wsi/wsi_common_display.c')
-rw-r--r--src/vulkan/wsi/wsi_common_display.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c
index 4a6e7194c46..994f98ed8b7 100644
--- a/src/vulkan/wsi/wsi_common_display.c
+++ b/src/vulkan/wsi/wsi_common_display.c
@@ -305,9 +305,6 @@ wsi_display_alloc_connector(struct wsi_display *wsi,
if (!connector)
return NULL;
- if (!connector)
- return NULL;
-
connector->id = connector_id;
connector->wsi = wsi;
connector->active = false;