summaryrefslogtreecommitdiff
path: root/drivers/misc/genwqe/card_base.c
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2016-12-19 10:23:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-11 11:21:41 +0300
commite1873a479a4ac536661ad951a4b10fe1b26cec7b (patch)
tree92c53644f87cdeb4470baaae12a9290daf732439 /drivers/misc/genwqe/card_base.c
parentf2cfa58b136e4b06a9b9db7af5ef62fbb5992f62 (diff)
downloadlinux-e1873a479a4ac536661ad951a4b10fe1b26cec7b.tar.xz
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>
Diffstat (limited to 'drivers/misc/genwqe/card_base.c')
-rw-r--r--drivers/misc/genwqe/card_base.c1
1 files changed, 0 insertions, 1 deletions
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,
};