radv: do not return from radv_GetPhysicalDeviceFeatures2()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 May 2020 06:59:31 +0000 (08:59 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 24 May 2020 18:06:02 +0000 (20:06 +0200)
This function returns void.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5116>

src/amd/vulkan/radv_device.c

index e8f6bf818c31519dcca114a9f7b23dd7b0084ee8..b8f1ff4b7ffe5e34f08fd2d80dcf83f6f46b5c21 100644 (file)
@@ -1319,7 +1319,7 @@ void radv_GetPhysicalDeviceFeatures2(
                        break;
                }
        }
-       return radv_GetPhysicalDeviceFeatures(physicalDevice, &pFeatures->features);
+       radv_GetPhysicalDeviceFeatures(physicalDevice, &pFeatures->features);
 }
 
 static size_t