Skip to contentSkip to conversation

ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4

PATCH Applied Julian Braha 2 participants 2 messages Mar 29 – Mar 30

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: omap2: dead code cleanup in kconfig for ARCH_OMAP4

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.

---
 arch/arm/mach-omap2/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-omap2/Kconfig +0 -1
index 821727eefd5a..f3f19bcfca2c 100644
@@ -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"
Signature · 1 line
2.51.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Julian Braha

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,

Signature · 1 line
Kevin Hilman <[email protected]>