vk/runtime: drop incorrect UNUSED annotation
authorEric Engestrom <eric@igalia.com>
Mon, 31 Oct 2022 18:39:43 +0000 (18:39 +0000)
committerEric Engestrom <eric@engestrom.ch>
Wed, 9 Nov 2022 21:22:05 +0000 (21:22 +0000)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19458>
(cherry picked from commit c6c5949ff70a47c47795fe9161a7514173b5be24)

.pick_status.json
src/vulkan/runtime/vk_device.c

index bcd2424..c521ccc 100644 (file)
         "description": "vk/runtime: drop incorrect UNUSED annotation",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null
     },
index 21144fb..2cb54da 100644 (file)
@@ -220,7 +220,7 @@ vk_device_init(struct vk_device *device,
 }
 
 void
-vk_device_finish(UNUSED struct vk_device *device)
+vk_device_finish(struct vk_device *device)
 {
    /* Drivers should tear down their own queues */
    assert(list_is_empty(&device->queues));