2023-11-23 10:46:48

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] arm: drop an obsolete ifdef with the removed config PCI_HOST_ITE8152

Commit 6da5238fa384 ("ARM: 8993/1: remove it8152 PCI controller driver")
removes the config PCI_HOST_ITE8152, but left a dangling obsolete ifndef
in ./arch/arm/kernel/bios32.c.

Hence, ./scripts/checkkconfigsymbols.py warns:

PCI_HOST_ITE8152
Referencing files: arch/arm/kernel/bios32.c

Remove this obsolete ifndef.

Signed-off-by: Lukas Bulwahn <[email protected]>
---
arch/arm/kernel/bios32.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
index d334c7fb672b..1b7aa85d3bec 100644
--- a/arch/arm/kernel/bios32.c
+++ b/arch/arm/kernel/bios32.c
@@ -527,12 +527,10 @@ void pci_common_init_dev(struct device *parent, struct hw_pci *hw)
}
}

-#ifndef CONFIG_PCI_HOST_ITE8152
void pcibios_set_master(struct pci_dev *dev)
{
/* No special bus mastering setup handling */
}
-#endif

char * __init pcibios_setup(char *str)
{
--
2.17.1