]> Pileus Git - ~andy/linux/commit
MIPS: Remove bogus BUG_ON()
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 26 Sep 2013 09:35:31 +0000 (10:35 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Oct 2013 20:25:20 +0000 (21:25 +0100)
commitc1724c89973e28a12a605f66e5151bdb8c354b76
tree7b6ad2016abe9a54adf758304a24a2651ecf53a0
parenta6e95a86e02e4a60b4355c84d19dba2baf3d87ba
MIPS: Remove bogus BUG_ON()

Checking for n<0 && n>9 makes no sense because it can never
be true. Moreover, we can have up to 64 vectored interrupts
so BUG_ON(n>9) was wrong anyway.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5909/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c