pvr: Remove double error reporting in error path.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16451>
This commit is contained in:
Rajnesh Kanwal 2022-02-28 17:12:48 +00:00
parent 5ef9bd5ff2
commit eaa5d37161
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ err_close_timeline:
err_free_srv_ctx:
vk_free(srv_ws->alloc, srv_ctx);
return vk_error(NULL, VK_ERROR_INITIALIZATION_FAILED);
return result;
}
void pvr_srv_winsys_compute_ctx_destroy(struct pvr_winsys_compute_ctx *ctx)