[PATCH] ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4

Julian Braha posted 1 patch 3 days, 14 hours ago
arch/arm/mach-omap2/Kconfig | 1 -
1 file changed, 1 deletion(-)
[PATCH] ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4
Posted by Julian Braha 3 days, 14 hours ago
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>
---
 arch/arm/mach-omap2/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 821727eefd5a..f3f19bcfca2c 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -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"
-- 
2.51.2
Re: [PATCH] ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4
Posted by Kevin Hilman 2 days, 11 hours ago
On Sun, 29 Mar 2026 19:30:18 +0100, Julian Braha wrote:
> 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.

Applied, thanks!

[1/1] ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4
      commit: 9ceb17ccd15ea32f19c9066f5f1b340d8340bd0b

Best regards,
-- 
Kevin Hilman <khilman@baylibre.com>