mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
i965/drm: Remove dead return in brw_bo_busy()
If ret is 0, we return. If ret is not 0, we return. This is dead. CID: 1405013 (Structurally dead code (UNREACHABLE)) Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
8c79dbe94e
commit
6142c3e298
1 changed files with 1 additions and 3 deletions
|
|
@ -207,10 +207,8 @@ brw_bo_busy(struct brw_bo *bo)
|
|||
if (ret == 0) {
|
||||
bo->idle = !busy.busy;
|
||||
return busy.busy;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return (ret == 0 && busy.busy);
|
||||
return false;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue