]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: renesas-xhci: Remove renesas_xhci_pci_exit()
authorMoritz Fischer <mdf@kernel.org>
Sun, 18 Jul 2021 01:51:11 +0000 (18:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:08:04 +0000 (15:08 +0200)
[ Upstream commit 884c274408296e7e0f56545f909b3d3a671104aa ]

Remove empty function renesas_xhci_pci_exit() that does not
actually do anything.

Cc: Mathias Nyman <mathias.nyman@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20210718015111.389719-3-mdf@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: f81dfa3b57c6 ("xhci: Set quirky xHC PCI hosts to D3 _after_ stopping and freeing them.")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/xhci-pci-renesas.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-pci.h

index 96692dbbd4dad608fd7d52acace654d82ac0f395..01ad6fc1adcaf6001dd4ee24d148a569c4adb7ab 100644 (file)
@@ -631,9 +631,4 @@ exit:
 }
 EXPORT_SYMBOL_GPL(renesas_xhci_check_request_fw);
 
-void renesas_xhci_pci_exit(struct pci_dev *dev)
-{
-}
-EXPORT_SYMBOL_GPL(renesas_xhci_pci_exit);
-
 MODULE_LICENSE("GPL v2");
index 88f223b975d347016b1e14f9f1d37b8ecf4b2879..4a88e75cd9586579f7d0b2767b2f8c9464d487f5 100644 (file)
@@ -533,8 +533,6 @@ static void xhci_pci_remove(struct pci_dev *dev)
        struct xhci_hcd *xhci;
 
        xhci = hcd_to_xhci(pci_get_drvdata(dev));
-       if (xhci->quirks & XHCI_RENESAS_FW_QUIRK)
-               renesas_xhci_pci_exit(dev);
 
        xhci->xhc_state |= XHCI_STATE_REMOVING;
 
index acd7cf0a1706e54036e124c83f0bedf4421d8658..cb9a8f331a44636f11dcbf55f40c5c7cf0368b8f 100644 (file)
@@ -7,7 +7,6 @@
 #if IS_ENABLED(CONFIG_USB_XHCI_PCI_RENESAS)
 int renesas_xhci_check_request_fw(struct pci_dev *dev,
                                  const struct pci_device_id *id);
-void renesas_xhci_pci_exit(struct pci_dev *dev);
 
 #else
 static int renesas_xhci_check_request_fw(struct pci_dev *dev,
@@ -16,8 +15,6 @@ static int renesas_xhci_check_request_fw(struct pci_dev *dev,
        return 0;
 }
 
-static void renesas_xhci_pci_exit(struct pci_dev *dev) { };
-
 #endif
 
 struct xhci_driver_data {