PCI: Remove obsolete pci_cleanup_rom() declaration
authorLukas Wunner <lukas@wunner.de>
Mon, 30 Oct 2023 12:33:13 +0000 (13:33 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Mar 2024 22:08:56 +0000 (16:08 -0600)
Commit d9c8bea179a6 ("PCI: Remove unused IORESOURCE_ROM_COPY and
IORESOURCE_ROM_BIOS_COPY") removed pci_cleanup_rom(), but retained
its declaration in pci.h.

Remove it.

Link: https://lore.kernel.org/r/fc30de5276e21d5a3ebcb7e58a8b43e399f7e6e6.1698668982.git.lukas@wunner.de
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
drivers/pci/pci.h

index 74d7f66b64a8752f2721101368ab796b2668ea49..9e32227008d52ce6e2dd9036c794872804b67c8b 100644 (file)
@@ -31,7 +31,6 @@ bool pcie_cap_has_rtctl(const struct pci_dev *dev);
 
 /* Functions internal to the PCI core code */
 
-void pci_cleanup_rom(struct pci_dev *dev);
 #ifdef CONFIG_DMI
 extern const struct attribute_group pci_dev_smbios_attr_group;
 #endif