diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2016-12-19 14:46:36 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-12 11:38:41 -0500 |
commit | e8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a (patch) | |
tree | 1fc8a51e9fb8fa2416fa7fe34796fedf52a40aa7 /drivers | |
parent | 850d08721aa10de0cce98fc695bd1ca775dea92e (diff) | |
download | linux-stable-e8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a.tar.gz linux-stable-e8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a.tar.bz2 linux-stable-e8f4eb3bfaf4ddb8765cf11c24cadfb1f20e714a.zip |
RDMA/hfi1: drop pci_link_reset()
In AER recovery, pci_error_handlers.link_reset() is never called,
drop it now.
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/hfi1/pcie.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/infiniband/hw/hfi1/pcie.c b/drivers/infiniband/hw/hfi1/pcie.c index 4ac8f330c5cb..ebd941fc8a92 100644 --- a/drivers/infiniband/hw/hfi1/pcie.c +++ b/drivers/infiniband/hw/hfi1/pcie.c @@ -598,15 +598,6 @@ pci_slot_reset(struct pci_dev *pdev) return PCI_ERS_RESULT_CAN_RECOVER; } -static pci_ers_result_t -pci_link_reset(struct pci_dev *pdev) -{ - struct hfi1_devdata *dd = pci_get_drvdata(pdev); - - dd_dev_info(dd, "HFI1 link_reset function called, ignored\n"); - return PCI_ERS_RESULT_CAN_RECOVER; -} - static void pci_resume(struct pci_dev *pdev) { @@ -625,7 +616,6 @@ pci_resume(struct pci_dev *pdev) const struct pci_error_handlers hfi1_pci_err_handler = { .error_detected = pci_error_detected, .mmio_enabled = pci_mmio_enabled, - .link_reset = pci_link_reset, .slot_reset = pci_slot_reset, .resume = pci_resume, }; |