PCI/DPC: Remove indirection waiting for inactive link
authorKeith Busch <keith.busch@intel.com>
Mon, 16 Jul 2018 22:05:07 +0000 (17:05 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 21:21:01 +0000 (16:21 -0500)
commite77b8216a2f9bec430ec46c34763567329ddafd9
treecb798fff188d64edbfde2e1233592d54278f1c3d
parent738c4e411dadbe341f80f30d56518b68ae1e605f
PCI/DPC: Remove indirection waiting for inactive link

Simplify waiting for the contained link to become inactive, removing the
indirection to a unnecessary DPC-specific handler.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
drivers/pci/pcie/dpc.c