[Mesa-dev] [PATCH 3/9] anv: remove unused field anv_queue::pool

Scott D Phillips scott.d.phillips at intel.com
Wed May 2 16:01:03 UTC 2018


The last use of the field was removed in 2015's ("48a87f4ba06
anv/queue: Get rid of the serial")
---
 src/intel/vulkan/anv_device.c  | 1 -
 src/intel/vulkan/anv_private.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 856035b8b91..c0cec175826 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1268,7 +1268,6 @@ anv_queue_init(struct anv_device *device, struct anv_queue *queue)
 {
    queue->_loader_data.loaderMagic = ICD_LOADER_MAGIC;
    queue->device = device;
-   queue->pool = &device->surface_state_pool;
    queue->flags = 0;
 }
 
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index d8b34b149e4..d043c77826e 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -838,8 +838,6 @@ struct anv_queue {
 
     struct anv_device *                         device;
 
-    struct anv_state_pool *                     pool;
-
     VkDeviceQueueCreateFlags                    flags;
 };
 
-- 
2.14.3



More information about the mesa-dev mailing list