[PATCH] scsi: qla2xxx: Remove the unused 'del_list_entry' field in struct fc_port

From: Christophe JAILLET
Date: Tue Aug 20 2024 - 01:18:40 EST


The 'del_list_entry' field in "struct fc_port" is unused.

It has been introduced in commit 2d70c103fd2a ("[SCSI] qla2xxx: Add LLD
target-mode infrastructure for >= 24xx series") in 2012-05 and its usages
have been removed in commit 726b85487067 ("qla2xxx: Add framework for async
fabric discovery") in 2017-02.

Now remove this unused field.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
Compile tested only.

Should a Fixes tag be needed, it would be:
Fixes: 726b85487067 ("qla2xxx: Add framework for async fabric discovery")
---
drivers/scsi/qla2xxx/qla_def.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 7cf998e3cc68..15066c112817 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2621,7 +2621,6 @@ typedef struct fc_port {
struct kref sess_kref;
struct qla_tgt *tgt;
unsigned long expires;
- struct list_head del_list_entry;
struct work_struct free_work;
struct work_struct reg_work;
uint64_t jiffies_at_registration;
--
2.46.0