Message ID | 20211028141938.3530-7-lukas.bulwahn@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Kconfig symbol clean-up on ./arch/arm{64} | expand |
On Thu, Oct 28, 2021 at 4:19 PM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > > 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>
On Thu, Oct 28, 2021 at 4:20 PM Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > 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> Patch applied to my IXP4xx tree! Yours, Linus Walleij
diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig index 365a5853d310..4c787b4be62b 100644 --- a/arch/arm/mach-ixp4xx/Kconfig +++ b/arch/arm/mach-ixp4xx/Kconfig @@ -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
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> --- arch/arm/mach-ixp4xx/Kconfig | 13 ------------- 1 file changed, 13 deletions(-)