Message ID | fc30de5276e21d5a3ebcb7e58a8b43e399f7e6e6.1698668982.git.lukas@wunner.de (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | [1/2] PCI: Compile pci-sysfs.c only if CONFIG_SYSFS=y | expand |
On Mon, Oct 30, 2023 at 10:34 PM Lukas Wunner <lukas@wunner.de> 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@wunner.de> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> 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 >
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
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@wunner.de> --- drivers/pci/pci.h | 1 - 1 file changed, 1 deletion(-)