From: Cao jin Date: Mon, 19 Dec 2016 07:23:56 +0000 (+0800) Subject: genwqe: drop .link_reset() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1873a479a4ac536661ad951a4b10fe1b26cec7b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git genwqe: drop .link_reset() In AER recovery, pci_error_handlers.link_reset() is never called, drop it now. Signed-off-by: Cao jin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe/card_base.c index 6c1f49a85023..4fd21e86ad56 100644 --- a/drivers/misc/genwqe/card_base.c +++ b/drivers/misc/genwqe/card_base.c @@ -1336,7 +1336,6 @@ static int genwqe_sriov_configure(struct pci_dev *dev, int numvfs) static struct pci_error_handlers genwqe_err_handler = { .error_detected = genwqe_err_error_detected, .mmio_enabled = genwqe_err_result_none, - .link_reset = genwqe_err_result_none, .slot_reset = genwqe_err_slot_reset, .resume = genwqe_err_resume, };