From 157499bd05ae3bc86b2e23febed10b866419401d Mon Sep 17 00:00:00 2001 From: Matt Coster Date: Thu, 27 Apr 2023 16:14:46 +0100 Subject: [PATCH] pvr: Drop pdevice from pvr_physical_device_get_supported_extensions() This parameter doesn't make a lot of sense - it's currently unused, but it can never be valid anyway since the return of this function is used in the early initialization of pvr_physical_device. Signed-off-by: Matt Coster Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 371bee2257d..8b0163d101a 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -147,7 +147,6 @@ static const struct vk_instance_extension_table pvr_instance_extensions = { }; static void pvr_physical_device_get_supported_extensions( - const struct pvr_physical_device *pdevice, struct vk_device_extension_table *extensions) { /* clang-format off */ @@ -373,7 +372,7 @@ static VkResult pvr_physical_device_init(struct pvr_physical_device *pdevice, if (result != VK_SUCCESS) goto err_vk_free_primary_path; - pvr_physical_device_get_supported_extensions(pdevice, &supported_extensions); + pvr_physical_device_get_supported_extensions(&supported_extensions); vk_physical_device_dispatch_table_from_entrypoints( &dispatch_table,