[RFC][PATCH 1/8] Removal of dead code from arch/blackfin/kernel/traps.c

From: N.P.S.
Date: Fri Oct 22 2010 - 14:24:14 EST


commit de6f2dfdf5c3dcd0e5eeaf9ab690a5d1081c065c
Author: N.P.S <napohybelskurwysynom2010@xxxxxxxxx>
Date: Fri Oct 22 00:01:41 2010 +0200

Removal of dead code from
arch/blackfin/kernel/traps.c

Signed-off-by: Zimny Lech <napohybelskurwysynom2010@xxxxxxxxx>
CC: Li Yi <yi.li@xxxxxxxxxx>
CC: <uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx>
CC: <linux-kernel@xxxxxxxxxxxxxxx>

diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index 59c1df7..b20eca8 100644
--- a/arch/blackfin/kernel/traps.c
+++ b/arch/blackfin/kernel/traps.c
@@ -280,17 +280,7 @@ asmlinkage notrace void trap_c(struct pt_regs *fp)
goto traps_done;
else
break;
-#ifdef CONFIG_BF535
- /* 0x29 - Instruction fetch access error (535 only) */
- case VEC_ISTRU_VL: /* ADSP-BF535 only (MH) */
- info.si_code = BUS_OPFETCH;
- sig = SIGBUS;
- strerror = KERN_NOTICE "BF535: VEC_ISTRU_VL\n";
- CHK_DEBUGGER_TRAP_MAYBE();
- break;
-#else
/* 0x29 - Reserved, Caught by default */
-#endif
/* 0x2A - Instruction fetch misaligned, handled here */
case VEC_MISALI_I:
info.si_code = BUS_ADRALN;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/