diff mbox series

scsi: qla2xxx: drop the useless LIST_HEAD in qla2x00_configure_fabric()

Message ID 1653645454-28696-1-git-send-email-baihaowen@meizu.com (mailing list archive)
State Deferred
Headers show
Series scsi: qla2xxx: drop the useless LIST_HEAD in qla2x00_configure_fabric() | expand

Commit Message

baihaowen May 27, 2022, 9:57 a.m. UTC
Drop LIST_HEAD where the variable it declares is never used.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
 drivers/scsi/qla2xxx/qla_init.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 3f3417a3e891..8b709d245a9c 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5957,7 +5957,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;