aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/lpfc/lpfc_ct.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
index f3b280313a74..b65ee57af53e 100644
--- a/drivers/scsi/lpfc/lpfc_ct.c
+++ b/drivers/scsi/lpfc/lpfc_ct.c
@@ -1166,11 +1166,6 @@ lpfc_fdmi_tmo_handler(struct lpfc_hba *phba)
1166{ 1166{
1167 struct lpfc_nodelist *ndlp; 1167 struct lpfc_nodelist *ndlp;
1168 1168
1169 spin_lock_irq(phba->host->host_lock);
1170 if (!(phba->work_hba_events & WORKER_FDMI_TMO)) {
1171 spin_unlock_irq(phba->host->host_lock);
1172 return;
1173 }
1174 ndlp = lpfc_findnode_did(phba, NLP_SEARCH_ALL, FDMI_DID); 1169 ndlp = lpfc_findnode_did(phba, NLP_SEARCH_ALL, FDMI_DID);
1175 if (ndlp) { 1170 if (ndlp) {
1176 if (system_utsname.nodename[0] != '\0') { 1171 if (system_utsname.nodename[0] != '\0') {
@@ -1179,7 +1174,6 @@ lpfc_fdmi_tmo_handler(struct lpfc_hba *phba)
1179 mod_timer(&phba->fc_fdmitmo, jiffies + HZ * 60); 1174 mod_timer(&phba->fc_fdmitmo, jiffies + HZ * 60);
1180 } 1175 }
1181 } 1176 }
1182 spin_unlock_irq(phba->host->host_lock);
1183 return; 1177 return;
1184} 1178}
1185 1179