From: Christophe JAILLET Date: Sun, 4 Jun 2023 04:52:42 +0000 (+0200) Subject: scsi: qla2xxx: Drop useless LIST_HEAD X-Git-Tag: v6.5-rc1~115^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=022000d3f586de7b0765075b85f0705f50a4fa69;p=thirdparty%2Fkernel%2Flinux.git scsi: qla2xxx: Drop useless LIST_HEAD 'new_fcports' is unused, so drop it. Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/49bb77624c9edc8d9bf8fe71d0c8a4cd7e582175.1685854354.git.christophe.jaillet@wanadoo.fr Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index a2d48d6b1dfc5..00c29e79da646 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;