From eaa5d37161e84b72798d764ae546e3553aa6c261 Mon Sep 17 00:00:00 2001 From: Rajnesh Kanwal Date: Mon, 28 Feb 2022 17:12:48 +0000 Subject: [PATCH] pvr: Remove double error reporting in error path. Signed-off-by: Rajnesh Kanwal Reviewed-by: Frank Binns Part-of: --- 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)