mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
iris: Drop duplicated errno handling in iris_bo_wait()
Both code paths already do this handling, so no need to this again in iris_bo_wait(). Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19359>
This commit is contained in:
parent
191f9a39c9
commit
144ccc31d7
1 changed files with 1 additions and 4 deletions
|
|
@ -1755,10 +1755,7 @@ iris_bo_wait(struct iris_bo *bo, int64_t timeout_ns)
|
|||
else
|
||||
ret = iris_bo_wait_syncobj(bo, timeout_ns);
|
||||
|
||||
if (ret != 0)
|
||||
return -errno;
|
||||
|
||||
bo->idle = true;
|
||||
bo->idle = ret == 0;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue