Mesa (master): anv: remove unused field anv_queue::pool
Scott D Phillips
scott-ph at kemper.freedesktop.org
Mon May 7 16:05:21 UTC 2018
Module: Mesa
Branch: master
Commit: 8b519075eac86a4b2187020f1f54c5e5b979b40d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b519075eac86a4b2187020f1f54c5e5b979b40d
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date: Wed May 2 09:01:03 2018 -0700
anv: remove unused field anv_queue::pool
The last use of the field was removed in 2015's ("48a87f4ba06
anv/queue: Get rid of the serial")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
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 fd516fb846..374fc16c4c 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 d8b34b149e..d043c77826 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;
};
More information about the mesa-commit
mailing list