From: Jason Ekstrand Date: Wed, 11 Aug 2021 01:46:31 +0000 (-0500) Subject: anv/android: Drop unused device variables X-Git-Tag: upstream/22.3.5~19295 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3aabe068c45883af598daf3018be4d7754a7af7;p=platform%2Fupstream%2Fmesa.git anv/android: Drop unused device variables Reviewed-by: Tapani Pälli Reviewed-by: Kristian H. Kristensen Reviewed-by: Eric Engestrom Part-of: --- 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 :