Commit 850d0872 authored by Cao jin's avatar Cao jin Committed by Doug Ledford

RDMA/qib: drop qib_pci_link_reset()

In AER recovery, pci_error_handlers.link_reset() is never called,
drop it now.
Signed-off-by: default avatarCao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 7f6856b7
...@@ -682,13 +682,6 @@ qib_pci_slot_reset(struct pci_dev *pdev) ...@@ -682,13 +682,6 @@ qib_pci_slot_reset(struct pci_dev *pdev)
return PCI_ERS_RESULT_CAN_RECOVER; return PCI_ERS_RESULT_CAN_RECOVER;
} }
static pci_ers_result_t
qib_pci_link_reset(struct pci_dev *pdev)
{
qib_devinfo(pdev, "QIB link_reset function called, ignored\n");
return PCI_ERS_RESULT_CAN_RECOVER;
}
static void static void
qib_pci_resume(struct pci_dev *pdev) qib_pci_resume(struct pci_dev *pdev)
{ {
...@@ -707,7 +700,6 @@ qib_pci_resume(struct pci_dev *pdev) ...@@ -707,7 +700,6 @@ qib_pci_resume(struct pci_dev *pdev)
const struct pci_error_handlers qib_pci_err_handler = { const struct pci_error_handlers qib_pci_err_handler = {
.error_detected = qib_pci_error_detected, .error_detected = qib_pci_error_detected,
.mmio_enabled = qib_pci_mmio_enabled, .mmio_enabled = qib_pci_mmio_enabled,
.link_reset = qib_pci_link_reset,
.slot_reset = qib_pci_slot_reset, .slot_reset = qib_pci_slot_reset,
.resume = qib_pci_resume, .resume = qib_pci_resume,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment