]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4
authorJulian Braha <julianbraha@gmail.com>
Sun, 29 Mar 2026 18:30:18 +0000 (19:30 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 30 Mar 2026 21:21:20 +0000 (14:21 -0700)
The same kconfig 'select OMAP_INTERCONNECT' appears twice for ARCH_OMAP4.
I propose removing the second instance, as it is effectively dead code.

This dead code was found by kconfirm, a static analysis tool for Kconfig.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
Link: https://patch.msgid.link/20260329183018.519560-1-julianbraha@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/mach-omap2/Kconfig

index 821727eefd5ad4c5322849152212e1914171af9d..f3f19bcfca2c2c8638826aff61605ceba3996748 100644 (file)
@@ -42,7 +42,6 @@ config ARCH_OMAP4
        select PM if CPU_IDLE
        select ARM_ERRATA_754322
        select ARM_ERRATA_775420
-       select OMAP_INTERCONNECT
 
 config SOC_OMAP5
        bool "TI OMAP5"