From: Samuel Pitoiset Date: Sun, 12 Jul 2020 18:44:22 +0000 (+0200) Subject: radv: remove one useless goto in radv_queue_submit_deferred() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93047f688881170ac5b7024aac94c317961625d4;p=mesa.git radv: remove one useless goto in radv_queue_submit_deferred() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 85ff3ca06a7..3fe96cd8da1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -4273,8 +4273,6 @@ radv_queue_submit_deferred(struct radv_deferred_queue_submission *submission, radv_loge("failed to submit CS\n"); abort(); } - - goto success; } else { struct radeon_cmdbuf **cs_array = malloc(sizeof(struct radeon_cmdbuf *) * (submission->cmd_buffer_count)); @@ -4328,7 +4326,6 @@ radv_queue_submit_deferred(struct radv_deferred_queue_submission *submission, free(cs_array); } -success: radv_free_temp_syncobjs(queue->device, submission->temporary_semaphore_part_count, submission->temporary_semaphore_parts);