]> git.itanic.dy.fi Git - linux-stable/commitdiff
PCI/portdrv: Remove unused pcie_port_bus_{,un}register() declarations
authorLukas Wunner <lukas@wunner.de>
Sat, 31 Jul 2021 12:39:03 +0000 (14:39 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Oct 2021 19:25:18 +0000 (14:25 -0500)
Commit c6c889d932bb ("PCI/portdrv: Remove pcie_port_bus_type link order
dependency") removed pcie_port_bus_{,un}register() but erroneously
retained their declarations in portdrv.h.  Remove them as well.

Link: https://lore.kernel.org/r/7fd76b0591c37287ab94d911d8fd9ab9a2afcd16.1627638184.git.lukas@wunner.de
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv.h

index e9fe0fef6cdec56d84db82ba830778e53cac9848..0ef4bf5f811d9d74ee134f1041fc1538fc0f838c 100644 (file)
@@ -118,8 +118,6 @@ int pcie_port_device_runtime_suspend(struct device *dev);
 int pcie_port_device_runtime_resume(struct device *dev);
 #endif
 void pcie_port_device_remove(struct pci_dev *dev);
-int __must_check pcie_port_bus_register(void);
-void pcie_port_bus_unregister(void);
 
 struct pci_dev;