intel/ds: Nuke intel_ds_queue::queue_id
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 23 Jan 2023 21:02:34 +0000 (13:02 -0800)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:42 +0000 (20:34 +0000)
queue_id is not used anywhere.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20888>
(cherry picked from commit 5ccc2049fae591d1baf6f581bbd0e3953c0ee5fa)

.pick_status.json
src/intel/ds/intel_driver_ds.cc
src/intel/ds/intel_driver_ds.h

index 830b6d7..42ac2af 100644 (file)
         "description": "intel/ds: Nuke intel_ds_queue::queue_id",
         "nominated": false,
         "nomination_type": null,
-        "resolution": 4,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null
     },
index 344e7ed..516be6d 100644 (file)
@@ -550,7 +550,6 @@ intel_ds_device_add_queue(struct intel_ds_device *device,
    memset(queue, 0, sizeof(*queue));
 
    queue->device = device;
-   queue->queue_id = u_vector_length(&device->queues) - 1;
 
    va_start(ap, fmt_name);
    vsnprintf(queue->name, sizeof(queue->name), fmt_name, ap);
index ca03c65..b5e5091 100644 (file)
@@ -125,9 +125,6 @@ struct intel_ds_queue {
    /* Device this queue belongs to */
    struct intel_ds_device *device;
 
-   /* Unique queue ID across the device */
-   uint32_t queue_id;
-
    /* Unique name of the queue */
    char name[80];