diff mbox series

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

Message ID 69155321ab26c1f4d473d5bb6cd44b59b9b6a020.1724094686.git.christophe.jaillet@wanadoo.fr (mailing list archive)
State Accepted
Headers show
Series scsi: qla2xxx: Remove the unused 'del_list_entry' field in struct fc_port | expand

Commit Message

Christophe JAILLET Aug. 19, 2024, 7:11 p.m. UTC
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@wanadoo.fr>
---
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(-)

Comments

Martin K. Petersen Aug. 29, 2024, 1:32 a.m. UTC | #1
Christophe,

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

Applied to 6.12/scsi-staging, thanks!
diff mbox series

Patch

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;