aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 4126fd87956f..cac9e870838a 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -3282,10 +3282,9 @@ lpfc_els_timeout_handler(struct lpfc_hba *phba)
3282 } else 3282 } else
3283 lpfc_sli_release_iocbq(phba, piocb); 3283 lpfc_sli_release_iocbq(phba, piocb);
3284 } 3284 }
3285 if (phba->sli.ring[LPFC_ELS_RING].txcmplq_cnt) { 3285 if (phba->sli.ring[LPFC_ELS_RING].txcmplq_cnt)
3286 phba->els_tmofunc.expires = jiffies + HZ * timeout; 3286 mod_timer(&phba->els_tmofunc, jiffies + HZ * timeout);
3287 add_timer(&phba->els_tmofunc); 3287
3288 }
3289 spin_unlock_irq(phba->host->host_lock); 3288 spin_unlock_irq(phba->host->host_lock);
3290} 3289}
3291 3290