From 5ccc2049fae591d1baf6f581bbd0e3953c0ee5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Mon, 23 Jan 2023 13:02:34 -0800 Subject: [PATCH] intel/ds: Nuke intel_ds_queue::queue_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit queue_id is not used anywhere. Signed-off-by: José Roberto de Souza Reviewed-by: Marcin Ślusarz Part-of: --- src/intel/ds/intel_driver_ds.cc | 1 - src/intel/ds/intel_driver_ds.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/intel/ds/intel_driver_ds.cc b/src/intel/ds/intel_driver_ds.cc index 3ecb18923e5..5f9af97f313 100644 --- a/src/intel/ds/intel_driver_ds.cc +++ b/src/intel/ds/intel_driver_ds.cc @@ -635,7 +635,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); diff --git a/src/intel/ds/intel_driver_ds.h b/src/intel/ds/intel_driver_ds.h index 004864d622c..6e11783d7c5 100644 --- a/src/intel/ds/intel_driver_ds.h +++ b/src/intel/ds/intel_driver_ds.h @@ -148,9 +148,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];