PCI/portdrv: Remove unused resume err_handler
authorLukas Wunner <lukas@wunner.de>
Sat, 31 Jul 2021 12:39:02 +0000 (14:39 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Oct 2021 19:25:08 +0000 (14:25 -0500)
commit80dcd36c388a34d5c2d0b9c8c171887903dbefbb
tree56c0092e56e3e3d831fda3d8916c16702e053c4d
parentea401499e943c307e6d44af6c2b4e068643e7884
PCI/portdrv: Remove unused resume err_handler

Commit 3e41a317ae45 ("PCI/AER: Remove unused aer_error_resume()")
removed the resume err_handler from AER.  Since no other port service
implements the callback, support for it can be removed from portdrv.
It can be revived later if need be, preferably by re-using the
pcie_port_device_iter() iterator.

Link: https://lore.kernel.org/r/25334149b604e005058aeb0fdf51e01f991d5d74.1627638184.git.lukas@wunner.de
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Keith Busch <kbusch@kernel.org>
drivers/pci/pcie/portdrv.h
drivers/pci/pcie/portdrv_pci.c