From 09fbaddec89ebf3b6fa4b54271402186aa043a27 Mon Sep 17 00:00:00 2001 From: Julian Braha Date: Thu, 23 Jul 2026 11:49:33 +0100 Subject: [PATCH] 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. Signed-off-by: Julian Braha Acked-by: Arnd Bergmann Signed-off-by: Thomas Bogendoerfer --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 8555bbf47c63..1207c4ed2267 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -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