From: Ralf Baechle Date: Thu, 22 May 2014 15:06:03 +0000 (+0200) Subject: MIPS: Remove code protected by CONFIG_SYS_HAS_CPU_RM9000. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c106ff85e82f7385733e1e45fdab74a0634fe2c2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: Remove code protected by CONFIG_SYS_HAS_CPU_RM9000. RM9000 support was removed a while ago but this bit crept back in through commit 69f24d17 [MIPS: Optimize current_cpu_type() for better code.] which had been developed before but merged after RM9000 support was removed. Signed-off-by: Ralf Baechle Reported-by: Paul Bolle --- diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 721906130a57..e3308b42343e 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h @@ -155,9 +155,6 @@ static inline int __pure __get_cpu_type(const int cpu_type) case CPU_RM7000: case CPU_SR71000: #endif -#ifdef CONFIG_SYS_HAS_CPU_RM9000 - case CPU_RM9000: -#endif #ifdef CONFIG_SYS_HAS_CPU_SB1 case CPU_SB1: case CPU_SB1A: