linux-mips
[Top] [All Lists]

[PATCH 3/3] MIPS: Remove dead case label.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 3/3] MIPS: Remove dead case label.
From: David Daney <ddaney@caviumnetworks.com>
Date: Tue, 12 May 2009 12:41:55 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <4A09D0B1.2030305@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4A09D0B1.2030305@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
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>
---
 arch/mips/mm/tlbex.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 4108674..4dc4f3e 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -311,7 +311,6 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct 
uasm_label **l,
        case CPU_BCM3302:
        case CPU_BCM4710:
        case CPU_LOONGSON2:
-       case CPU_CAVIUM_OCTEON:
        case CPU_R5500:
                if (m4kc_tlbp_war())
                        uasm_i_nop(p);
-- 
1.6.0.6


<Prev in Thread] Current Thread [Next in Thread>