diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 5f013f1cdead..6449ac8fca24 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -1375,8 +1375,6 @@ lpfc_offline(struct lpfc_hba * phba) | |||
1375 | 1375 | ||
1376 | /* stop all timers associated with this hba */ | 1376 | /* stop all timers associated with this hba */ |
1377 | lpfc_stop_timer(phba); | 1377 | lpfc_stop_timer(phba); |
1378 | phba->work_hba_events = 0; | ||
1379 | phba->work_ha = 0; | ||
1380 | 1378 | ||
1381 | lpfc_printf_log(phba, | 1379 | lpfc_printf_log(phba, |
1382 | KERN_WARNING, | 1380 | KERN_WARNING, |
@@ -1389,6 +1387,8 @@ lpfc_offline(struct lpfc_hba * phba) | |||
1389 | lpfc_sli_hba_down(phba); | 1387 | lpfc_sli_hba_down(phba); |
1390 | lpfc_cleanup(phba); | 1388 | lpfc_cleanup(phba); |
1391 | spin_lock_irqsave(phba->host->host_lock, iflag); | 1389 | spin_lock_irqsave(phba->host->host_lock, iflag); |
1390 | phba->work_hba_events = 0; | ||
1391 | phba->work_ha = 0; | ||
1392 | phba->fc_flag |= FC_OFFLINE_MODE; | 1392 | phba->fc_flag |= FC_OFFLINE_MODE; |
1393 | spin_unlock_irqrestore(phba->host->host_lock, iflag); | 1393 | spin_unlock_irqrestore(phba->host->host_lock, iflag); |
1394 | } | 1394 | } |