mips: remove dead select
PATCH 1/1 mips: remove dead select
'select' does not work on config options in a 'choice', so the current 'select CPU_BIG_ENDIAN' does nothing (dead code).
However, ECONET already also selects SYS_SUPPORTS_BIG_ENDIAN so this means that CPU_BIG_ENDIAN will always be set.
Let's remove the unnecessary 'select CPU_BIG_ENDIAN'.
This dead select was found by kconfirm, a static analysis tool for Kconfig.
--- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/mips/Kconfig +0 -1
@@ -395,7 +395,6 @@ config MACH_DECSTATION config ECONET bool "EcoNet MIPS family" select BOOT_RAW - select CPU_BIG_ENDIAN select DEBUG_ZBOOT if DEBUG_KERNEL select EARLY_PRINTK_8250 select ECONET_EN751221_TIMER
Signature · 1 line
2.54.0
Quoted 6 lines · Julian Braha
'select' does not work on config options in a 'choice', so the current 'select
CPU_BIG_ENDIAN' does nothing (dead code).However, ECONET already also selects
SYS_SUPPORTS_BIG_ENDIANso this means thatCPU_BIG_ENDIANwill always be set.
Quoted 6 lines
Let's remove the unnecessary 'select
CPU_BIG_ENDIAN'.This dead select was found by kconfirm, a static analysis tool for
Kconfig.Signed-off-by Julian Braha <[email protected]>
Quoted 30 lines · Julian Braha
'select' does not work on config options in a 'choice', so the current 'select
CPU_BIG_ENDIAN' does nothing (dead code).However, ECONET already also selects
SYS_SUPPORTS_BIG_ENDIANso this means thatCPU_BIG_ENDIANwill always be set.Let's remove the unnecessary 'select
CPU_BIG_ENDIAN'.This dead select was found by kconfirm, a static analysis tool for
Kconfig.Signed-off-by Julian Braha <[email protected]>--- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-)arch/mips/Kconfig +0
-1@@ -395,7 +395,6 @@ config MACH_DECSTATION config ECONET bool "EcoNet MIPS family" select BOOT_RAW - select CPU_BIG_ENDIAN select DEBUG_ZBOOT if DEBUG_KERNEL select EARLY_PRINTK_8250 select ECONET_EN751221_TIMERSignature · 1 line
2.54.0
applied to mips-next
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]