ARM: ixp4xx: remove dead configs CPU_IXP43X and CPU_IXP46X
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 28 Oct 2021 14:19:31 +0000 (16:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Dec 2021 01:18:25 +0000 (02:18 +0100)
Commit 73d04ca5f4ac ("ARM: ixp4xx: Delete Intel reference design
boardfiles") removes the definition of the configs MACH_IXDP465 and
MACH_KIXRP435, but misses to remove the configs CPU_IXP43X and CPU_IXP46X
that depend on those removed configs, and hence are dead now.

Fortunately, ./scripts/checkkconfigsymbols.py warns:

MACH_IXDP465
Referencing files: arch/arm/mach-ixp4xx/Kconfig

MACH_KIXRP435
Referencing files: arch/arm/mach-ixp4xx/Kconfig

Remove the dead configs CPU_IXP43X and CPU_IXP46X.

A further quick grep for the name of those two symbols did not show any
use of the two config symbols; so, there are no further clean-up activities
beyond this config removal needed.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ixp4xx/Kconfig

index 365a585..4c787b4 100644 (file)
@@ -39,19 +39,6 @@ config ARCH_PRPMC1100
          PrPCM1100 Processor Mezanine Module. For more information on
          this platform, see <file:Documentation/arm/ixp4xx.rst>.
 
-#
-# Certain registers and IRQs are only enabled if supporting IXP465 CPUs
-#
-config CPU_IXP46X
-       bool
-       depends on MACH_IXDP465
-       default y
-
-config CPU_IXP43X
-       bool
-       depends on MACH_KIXRP435
-       default y
-
 comment "IXP4xx Options"
 
 config IXP4XX_PCI_LEGACY