aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc_tgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_tgt.c')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_tgt.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_tgt.c b/drivers/scsi/bnx2fc/bnx2fc_tgt.c
index c66c708412a6..08ec318afb99 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_tgt.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_tgt.c
@@ -1,9 +1,9 @@
1/* bnx2fc_tgt.c: QLogic NetXtreme II Linux FCoE offload driver. 1/* bnx2fc_tgt.c: QLogic Linux FCoE offload driver.
2 * Handles operations such as session offload/upload etc, and manages 2 * Handles operations such as session offload/upload etc, and manages
3 * session resources such as connection id and qp resources. 3 * session resources such as connection id and qp resources.
4 * 4 *
5 * Copyright (c) 2008 - 2013 Broadcom Corporation 5 * Copyright (c) 2008-2013 Broadcom Corporation
6 * Copyright (c) 2014, QLogic Corporation 6 * Copyright (c) 2014-2015 QLogic Corporation
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
@@ -560,12 +560,6 @@ void bnx2fc_rport_event_handler(struct fc_lport *lport,
560 (hba->num_ofld_sess == 0)) { 560 (hba->num_ofld_sess == 0)) {
561 wake_up_interruptible(&hba->shutdown_wait); 561 wake_up_interruptible(&hba->shutdown_wait);
562 } 562 }
563 if (test_bit(BNX2FC_FLAG_EXPL_LOGO, &tgt->flags)) {
564 printk(KERN_ERR PFX "Relogin to the tgt\n");
565 mutex_lock(&lport->disc.disc_mutex);
566 lport->tt.rport_login(rdata);
567 mutex_unlock(&lport->disc.disc_mutex);
568 }
569 mutex_unlock(&hba->hba_mutex); 563 mutex_unlock(&hba->hba_mutex);
570 564
571 break; 565 break;