Skip to content

Commit

Permalink
genwqe: drop .link_reset()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cao jin authored and Greg Kroah-Hartman committed Jan 11, 2017
1 parent f2cfa58 commit e1873a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/misc/genwqe/card_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit e1873a4

Please sign in to comment.