scsi: qla2xxx: Drop useless LIST_HEAD
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Jun 2023 04:52:42 +0000 (06:52 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Jun 2023 01:29:09 +0000 (21:29 -0400)
'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>
drivers/scsi/qla2xxx/qla_init.c

index a2d48d6..00c29e7 100644 (file)
@@ -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;