diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-19 18:59:27 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:14 -0500 |
commit | 2fe062608086f9b74a80f16272c5a59a3e05722f (patch) | |
tree | d6ee7a2a40522345829b1aca0bc128d125da7d19 /arch/mips/sgi-ip32 | |
parent | 1b362e3e350f72c6cb4b3346f6ba92a529082a09 (diff) |
MIPS: Cleanup switches with cases that can be merged
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
To: linux-mips@linux-mips.org
To: Andrew Morton <akpm@linux-foundation.org>
To: LKML <linux-kernel@vger.kernel.org>
Patchwork: http://patchwork.linux-mips.org/patch/860/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip32')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index 5c2bf111ca67..d8b65204d288 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -512,10 +512,6 @@ void __init arch_init_irq(void) | |||
512 | "level"); | 512 | "level"); |
513 | break; | 513 | break; |
514 | 514 | ||
515 | case CRIME_GBE0_IRQ ... CRIME_GBE3_IRQ: | ||
516 | set_irq_chip_and_handler_name(irq, | ||
517 | &crime_edge_interrupt, handle_edge_irq, "edge"); | ||
518 | break; | ||
519 | case CRIME_CPUERR_IRQ: | 515 | case CRIME_CPUERR_IRQ: |
520 | case CRIME_MEMERR_IRQ: | 516 | case CRIME_MEMERR_IRQ: |
521 | set_irq_chip_and_handler_name(irq, | 517 | set_irq_chip_and_handler_name(irq, |
@@ -523,12 +519,9 @@ void __init arch_init_irq(void) | |||
523 | "level"); | 519 | "level"); |
524 | break; | 520 | break; |
525 | 521 | ||
522 | case CRIME_GBE0_IRQ ... CRIME_GBE3_IRQ: | ||
526 | case CRIME_RE_EMPTY_E_IRQ ... CRIME_RE_IDLE_E_IRQ: | 523 | case CRIME_RE_EMPTY_E_IRQ ... CRIME_RE_IDLE_E_IRQ: |
527 | case CRIME_SOFT0_IRQ ... CRIME_SOFT2_IRQ: | 524 | case CRIME_SOFT0_IRQ ... CRIME_SOFT2_IRQ: |
528 | set_irq_chip_and_handler_name(irq, | ||
529 | &crime_edge_interrupt, handle_edge_irq, "edge"); | ||
530 | break; | ||
531 | |||
532 | case CRIME_VICE_IRQ: | 525 | case CRIME_VICE_IRQ: |
533 | set_irq_chip_and_handler_name(irq, | 526 | set_irq_chip_and_handler_name(irq, |
534 | &crime_edge_interrupt, handle_edge_irq, "edge"); | 527 | &crime_edge_interrupt, handle_edge_irq, "edge"); |