genwqe: drop .link_reset()
authorCao jin <caoj.fnst@cn.fujitsu.com>
Mon, 19 Dec 2016 07:23:56 +0000 (15:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jan 2017 08:21:41 +0000 (09:21 +0100)
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>
drivers/misc/genwqe/card_base.c

index 6c1f49a85023e6abd80804ab71c27d57c1ccd5e0..4fd21e86ad56ea33f7d303dc108ac1888e4ac3fd 100644 (file)
@@ -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,
 };