Commit 081d0d8c authored by Cao jin's avatar Cao jin Committed by Mauro Carvalho Chehab

[media] ngene: drop ngene_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 avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e90bbacd
...@@ -777,12 +777,6 @@ static pci_ers_result_t ngene_error_detected(struct pci_dev *dev, ...@@ -777,12 +777,6 @@ static pci_ers_result_t ngene_error_detected(struct pci_dev *dev,
return PCI_ERS_RESULT_CAN_RECOVER; return PCI_ERS_RESULT_CAN_RECOVER;
} }
static pci_ers_result_t ngene_link_reset(struct pci_dev *dev)
{
printk(KERN_INFO DEVICE_NAME ": link reset\n");
return 0;
}
static pci_ers_result_t ngene_slot_reset(struct pci_dev *dev) static pci_ers_result_t ngene_slot_reset(struct pci_dev *dev)
{ {
printk(KERN_INFO DEVICE_NAME ": slot reset\n"); printk(KERN_INFO DEVICE_NAME ": slot reset\n");
...@@ -796,7 +790,6 @@ static void ngene_resume(struct pci_dev *dev) ...@@ -796,7 +790,6 @@ static void ngene_resume(struct pci_dev *dev)
static const struct pci_error_handlers ngene_errors = { static const struct pci_error_handlers ngene_errors = {
.error_detected = ngene_error_detected, .error_detected = ngene_error_detected,
.link_reset = ngene_link_reset,
.slot_reset = ngene_slot_reset, .slot_reset = ngene_slot_reset,
.resume = ngene_resume, .resume = ngene_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