On Mon, Oct 30, 2023 at 10:34 PM Lukas Wunner <lukas@xxxxxxxxx> wrote: > > 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. > > Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx> Reviewed-by: Alistair Francis <alistair.francis@xxxxxxx> Alistair > --- > drivers/pci/pci.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h > index aedaf4e51146..d865c4321e14 100644 > --- a/drivers/pci/pci.h > +++ b/drivers/pci/pci.h > @@ -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 > -- > 2.40.1 >