MIPS: Remove code protected by CONFIG_SYS_HAS_CPU_RM9000.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 22 May 2014 15:06:03 +0000 (17:06 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:12:40 +0000 (15:12 +0200)
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 <ralf@linux-mips.org>
Reported-by: Paul Bolle <pebolle@tiscali.nl>
arch/mips/include/asm/cpu-type.h

index 721906130a573852b654b4495d66cc7877e533c0..e3308b42343e5706ee8d9068ab9331aad53f09e5 100644 (file)
@@ -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: