aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-05-12 15:41:55 -0400
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 06:06:26 -0400
commitfaed5288af0f05aa61ac1e8d47306d855a2868f0 (patch)
tree406480e08fe3493f4b3ab57b1e6ff9d539d9dffd
parent9e290a19f21f4d6c305090d3c61fbfad65908188 (diff)
MIPS: Remove dead case label.
CPU_CAVIUM_OCTEON is mips_r2 which is handled before the switch. This label in the switch statement is dead code, so we remove it. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Reviewed by: David VomLehn <dvomlehn@cisco.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mm/tlbex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 0e34faaadb5c..2104aa0fa3eb 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -312,7 +312,6 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,
312 case CPU_BCM3302: 312 case CPU_BCM3302:
313 case CPU_BCM4710: 313 case CPU_BCM4710:
314 case CPU_LOONGSON2: 314 case CPU_LOONGSON2:
315 case CPU_CAVIUM_OCTEON:
316 case CPU_R5500: 315 case CPU_R5500:
317 if (m4kc_tlbp_war()) 316 if (m4kc_tlbp_war())
318 uasm_i_nop(p); 317 uasm_i_nop(p);