From f3aabe068c45883af598daf3018be4d7754a7af7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 10 Aug 2021 20:46:31 -0500 Subject: [PATCH] anv/android: Drop unused device variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Tapani Pälli Reviewed-by: Kristian H. Kristensen Reviewed-by: Eric Engestrom Part-of: --- src/intel/vulkan/anv_android.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/intel/vulkan/anv_android.c b/src/intel/vulkan/anv_android.c index 2f337e6..05925b0 100644 --- a/src/intel/vulkan/anv_android.c +++ b/src/intel/vulkan/anv_android.c @@ -392,8 +392,6 @@ anv_create_ahw_memory(VkDevice device_h, const VkMemoryAllocateInfo *pAllocateInfo) { #if ANDROID_API_LEVEL >= 26 - ANV_FROM_HANDLE(anv_device, dev, device_h); - const VkMemoryDedicatedAllocateInfo *dedicated_info = vk_find_struct_const(pAllocateInfo->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); @@ -754,7 +752,6 @@ anv_AcquireImageANDROID( VkSemaphore semaphore_h, VkFence fence_h) { - ANV_FROM_HANDLE(anv_device, device, device_h); VkResult result = VK_SUCCESS; /* From https://source.android.com/devices/graphics/implement-vulkan : -- 2.7.4