From 1811ccf1
---
 src/amd/vulkan/radv_device.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 5f14394..9138a00 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -749,7 +749,6 @@ void radv_GetPhysicalDeviceQueueFamilyProperties(
        RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
        if (!pQueueFamilyProperties) {
                return 
radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
-               return;
        }
        VkQueueFamilyProperties *properties[] = {
                pQueueFamilyProperties + 0,
@@ -768,7 +767,6 @@ void radv_GetPhysicalDeviceQueueFamilyProperties2KHR(
        RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
        if (!pQueueFamilyProperties) {
                return 
radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL);
-               return;
        }
        VkQueueFamilyProperties *properties[] = {
                &pQueueFamilyProperties[0].queueFamilyProperties,
-- 
2.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to