From 43ba44357c4dc3a329e996c1423c3dba864e4f49 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 1 Oct 2019 18:14:34 +0200 Subject: [PATCH] radv: Clean up unused variable. Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_device.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 98ad7eaa3dd..1d2addcd1d0 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -3406,8 +3406,7 @@ static VkResult radv_alloc_sem_counts(struct radv_instance *instance, struct radv_winsys_sem_counts *counts, int num_sems, const VkSemaphore *sems, - VkFence _fence, - bool reset_temp) + VkFence _fence) { int syncobj_idx = 0, sem_idx = 0; @@ -3504,10 +3503,10 @@ radv_alloc_sem_info(struct radv_instance *instance, VkResult ret; memset(sem_info, 0, sizeof(*sem_info)); - ret = radv_alloc_sem_counts(instance, &sem_info->wait, num_wait_sems, wait_sems, VK_NULL_HANDLE, true); + ret = radv_alloc_sem_counts(instance, &sem_info->wait, num_wait_sems, wait_sems, VK_NULL_HANDLE); if (ret) return ret; - ret = radv_alloc_sem_counts(instance, &sem_info->signal, num_signal_sems, signal_sems, fence, false); + ret = radv_alloc_sem_counts(instance, &sem_info->signal, num_signal_sems, signal_sems, fence); if (ret) radv_free_sem_info(sem_info); -- 2.30.2