Module: Mesa Branch: main Commit: eaa5d37161e84b72798d764ae546e3553aa6c261 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaa5d37161e84b72798d764ae546e3553aa6c261
Author: Rajnesh Kanwal <[email protected]> Date: Mon Feb 28 17:12:48 2022 +0000 pvr: Remove double error reporting in error path. Signed-off-by: Rajnesh Kanwal <[email protected]> Reviewed-by: Frank Binns <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16451> --- src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c b/src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c index 013d011f189..74a3a0d84ae 100644 --- a/src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c +++ b/src/imagination/vulkan/winsys/pvrsrvkm/pvr_srv_job_compute.c @@ -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)
