diff options
author | 2023-06-04 06:52:42 +0200 | |
---|---|---|
committer | 2023-06-07 21:29:09 -0400 | |
commit | 022000d3f586de7b0765075b85f0705f50a4fa69 (patch) | |
tree | b7271aef1674c2e1c68d63042c0504b9c848b5d4 /drivers/scsi/qla2xxx/qla_init.c | |
parent | scsi: qla2xxx: Replace one-element array with DECLARE_FLEX_ARRAY() helper (diff) | |
download | linux-022000d3f586de7b0765075b85f0705f50a4fa69.tar.gz linux-022000d3f586de7b0765075b85f0705f50a4fa69.tar.bz2 linux-022000d3f586de7b0765075b85f0705f50a4fa69.zip |
scsi: qla2xxx: Drop useless LIST_HEAD
'new_fcports' is unused, so drop it.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/49bb77624c9edc8d9bf8fe71d0c8a4cd7e582175.1685854354.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index a2d48d6b1dfc..00c29e79da64 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; |