]> Pileus Git - ~andy/linux/blobdiff - arch/mips/kernel/traps.c
MIPS: Remove bogus BUG_ON()
[~andy/linux] / arch / mips / kernel / traps.c
index 524841f0280370600966d20f38b41d0eefdb4744..f2ae9cb57ff0b8ee2e191d489b2c08d76303e1d7 100644 (file)
@@ -1554,7 +1554,6 @@ static void *set_vi_srs_handler(int n, vi_handler_t addr, int srs)
        unsigned char *b;
 
        BUG_ON(!cpu_has_veic && !cpu_has_vint);
-       BUG_ON((n < 0) && (n > 9));
 
        if (addr == NULL) {
                handler = (unsigned long) do_default_vi;