]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: qla2xxx: Remove the unused 'del_list_entry' field in struct fc_port
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 19 Aug 2024 19:11:43 +0000 (21:11 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2024 01:31:59 +0000 (21:31 -0400)
The 'del_list_entry' field in "struct fc_port" is unused.

The field was introduced in commit 2d70c103fd2a ("[SCSI] qla2xxx: Add LLD
target-mode infrastructure for >= 24xx series") in 2012-05 and the last
user was removed in commit 726b85487067 ("qla2xxx: Add framework for async
fabric discovery") in 2017-02.

Remove this unused field.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/69155321ab26c1f4d473d5bb6cd44b59b9b6a020.1724094686.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_def.h

index 7cf998e3cc681cf429d17548d9b80af18267933c..15066c112817a89a96406ddc39f2a86798ef035e 100644 (file)
@@ -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;