From: Bas Nieuwenhuizen Date: Tue, 1 Oct 2019 16:14:34 +0000 (+0200) Subject: radv: Clean up unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43ba44357c4dc3a329e996c1423c3dba864e4f49;p=mesa.git radv: Clean up unused variable. Reviewed-by: Samuel Pitoiset --- 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);