diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 64e3d344f4dd..4516d627deb9 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -742,11 +742,6 @@ lpfc_hb_timeout_handler(struct lpfc_hba *phba) | |||
742 | return; | 742 | return; |
743 | 743 | ||
744 | spin_lock_irq(&phba->pport->work_port_lock); | 744 | spin_lock_irq(&phba->pport->work_port_lock); |
745 | /* If the timer is already canceled do nothing */ | ||
746 | if (!(phba->pport->work_port_events & WORKER_HB_TMO)) { | ||
747 | spin_unlock_irq(&phba->pport->work_port_lock); | ||
748 | return; | ||
749 | } | ||
750 | 745 | ||
751 | if (time_after(phba->last_completion_time + LPFC_HB_MBOX_INTERVAL * HZ, | 746 | if (time_after(phba->last_completion_time + LPFC_HB_MBOX_INTERVAL * HZ, |
752 | jiffies)) { | 747 | jiffies)) { |
@@ -2702,8 +2697,6 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid) | |||
2702 | (char *) &adapter_event, | 2697 | (char *) &adapter_event, |
2703 | LPFC_NL_VENDOR_ID); | 2698 | LPFC_NL_VENDOR_ID); |
2704 | 2699 | ||
2705 | scsi_scan_host(shost); | ||
2706 | |||
2707 | return 0; | 2700 | return 0; |
2708 | 2701 | ||
2709 | out_remove_device: | 2702 | out_remove_device: |