Skip to content

turnip: Fix file descriptor return.

Vinson Lee requested to merge vlee/mesa:fix-cid-1467899 into master

Fix defect reported by Coverity Scan.

Logically dead code (DEADCODE) dead_error_line: Execution cannot reach the expression -1 inside this statement: return ret ? -1 : handle.fd;

Fixes: 8163c818 ("turnip: implement timestamp fences/semaphores for kgsl backend") Signed-off-by: Vinson Lee

cc: @flto @anholt

Merge request reports