summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2019-05-07 12:39:05 -0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-18 19:46:24 -0400
commita90ef98b21cf40784af7ace77038f8341a7b96c8 (patch)
tree5266486d5212c78ce026f6cc2c0d5e940d47b516 /drivers
parent97fcf176b43bedcfd64cca5fd7e07e2cd2bde284 (diff)
downloadtalos-op-linux-a90ef98b21cf40784af7ace77038f8341a7b96c8.tar.gz
talos-op-linux-a90ef98b21cf40784af7ace77038f8341a7b96c8.zip
scsi: qla2xxx: remove double assignment in qla2x00_update_fcport
Remove double assignment in qla2x00_update_fcport(). Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> Acked-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 54772d4c377f..4059655639d9 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -5403,7 +5403,6 @@ qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport)
fcport->flags &= ~(FCF_LOGIN_NEEDED | FCF_ASYNC_SENT);
fcport->deleted = 0;
fcport->logout_on_delete = 1;
- fcport->login_retry = vha->hw->login_retry_count;
fcport->n2n_chip_reset = fcport->n2n_link_reset_cnt = 0;
switch (vha->hw->current_topology) {
OpenPOWER on IntegriCloud