genwqe: drop .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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cao jin 2016-12-19 15:23:56 +08:00 committed by Greg Kroah-Hartman
parent f2cfa58b13
commit e1873a479a

View File

@ -1336,7 +1336,6 @@ static int genwqe_sriov_configure(struct pci_dev *dev, int numvfs)
static struct pci_error_handlers genwqe_err_handler = { static struct pci_error_handlers genwqe_err_handler = {
.error_detected = genwqe_err_error_detected, .error_detected = genwqe_err_error_detected,
.mmio_enabled = genwqe_err_result_none, .mmio_enabled = genwqe_err_result_none,
.link_reset = genwqe_err_result_none,
.slot_reset = genwqe_err_slot_reset, .slot_reset = genwqe_err_slot_reset,
.resume = genwqe_err_resume, .resume = genwqe_err_resume,
}; };