radv: Clean up unused variable.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 1 Oct 2019 16:14:34 +0000 (18:14 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 30 Oct 2019 10:57:07 +0000 (11:57 +0100)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c

index 98ad7eaa3ddb0f1211448b84682e9a41f04a886d..1d2addcd1d06001f838ce14e14f1e4d0ddccff35 100644 (file)
@@ -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);