aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/branch.c')
-rw-r--r--arch/mips/kernel/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/branch.c b/arch/mips/kernel/branch.c
index 1db29957a931..2c38f75d87ff 100644
--- a/arch/mips/kernel/branch.c
+++ b/arch/mips/kernel/branch.c
@@ -58,6 +58,7 @@ int __mm_isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
58 unsigned long *contpc) 58 unsigned long *contpc)
59{ 59{
60 union mips_instruction insn = (union mips_instruction)dec_insn.insn; 60 union mips_instruction insn = (union mips_instruction)dec_insn.insn;
61 int __maybe_unused bc_false = 0;
61 62
62 if (!cpu_has_mmips) 63 if (!cpu_has_mmips)
63 return 0; 64 return 0;
@@ -139,7 +140,6 @@ int __mm_isBranchInstr(struct pt_regs *regs, struct mm_decoded_insn dec_insn,
139#ifdef CONFIG_MIPS_FP_SUPPORT 140#ifdef CONFIG_MIPS_FP_SUPPORT
140 case mm_bc2f_op: 141 case mm_bc2f_op:
141 case mm_bc1f_op: { 142 case mm_bc1f_op: {
142 int bc_false = 0;
143 unsigned int fcr31; 143 unsigned int fcr31;
144 unsigned int bit; 144 unsigned int bit;
145 145