diff mbox series

qla2xxx: Drop useless LIST_HEAD

Message ID 49bb77624c9edc8d9bf8fe71d0c8a4cd7e582175.1685854354.git.christophe.jaillet@wanadoo.fr (mailing list archive)
State Accepted
Headers show
Series qla2xxx: Drop useless LIST_HEAD | expand

Commit Message

Christophe JAILLET June 4, 2023, 4:52 a.m. UTC
'new_fcports' is unused, so drop it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Usage of new_fcports has been removed in commit 726b85487067 ("qla2xxx: Add
framework for async fabric discovery")
---
 drivers/scsi/qla2xxx/qla_init.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Martin K. Petersen June 8, 2023, 1:30 a.m. UTC | #1
Christophe,

> 'new_fcports' is unused, so drop it.

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

Patch

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 95ae754582e7..f1724c7d39d5 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -6220,7 +6220,6 @@  qla2x00_configure_fabric(scsi_qla_host_t *vha)
 	fc_port_t	*fcport;
 	uint16_t	mb[MAILBOX_REGISTER_COUNT];
 	uint16_t	loop_id;
-	LIST_HEAD(new_fcports);
 	struct qla_hw_data *ha = vha->hw;
 	int		discovery_gen;