Skip to content

vk/wsi/x11: Remove dead code

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

What does this MR do and why?

vk/wsi/x11: Remove dead code

Fix defect reported by Coverity Scan.

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

Fixes: fb9f697f ("vk/wsi/x11: move surface alpha check from get_caps to creation") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports