Skip to content

vulkan/wsi: Remove duplicate NULL check

Vinson Lee requested to merge vlee/mesa:fix-cid-1528176 into main

What does this MR do and why?

vulkan/wsi: Remove duplicate NULL check

Fix defect reported by Coverity Scan.

Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: return NULL;.

Fixes: eadc64ab ("vulkan/wsi/display: do not dereference a NULL pointer") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports