diff mbox series

[2/2] PCI: Remove obsolete pci_cleanup_rom() declaration

Message ID fc30de5276e21d5a3ebcb7e58a8b43e399f7e6e6.1698668982.git.lukas@wunner.de
State New
Headers show
Series [1/2] PCI: Compile pci-sysfs.c only if CONFIG_SYSFS=y | expand

Commit Message

Lukas Wunner Oct. 30, 2023, 12:33 p.m. UTC
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(-)

Comments

Alistair Francis Nov. 2, 2023, 3:36 a.m. UTC | #1
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 mbox series

Patch

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