[PATCH] qla2xxx: Drop useless LIST_HEAD

From: Christophe JAILLET
Date: Sun Jun 04 2023 - 00:53:09 EST


'new_fcports' is unused, so drop it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
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(-)

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;

--
2.34.1