OSDN Git Service

[MIPS] Remove unused rm9k_cpu_irq_disable()
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 7 Jan 2007 15:20:24 +0000 (00:20 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 6 Feb 2007 16:53:06 +0000 (16:53 +0000)
rm9k_cpu_irq_disable() is unused since commit
1603b5aca4f15b34848fb5594d0c7b6333b99144.  Remove it.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irq-rm9000.c

index 0e6f4c5..2e68e4b 100644 (file)
@@ -39,15 +39,6 @@ static inline void rm9k_cpu_irq_enable(unsigned int irq)
        local_irq_restore(flags);
 }
 
-static void rm9k_cpu_irq_disable(unsigned int irq)
-{
-       unsigned long flags;
-
-       local_irq_save(flags);
-       mask_rm9k_irq(irq);
-       local_irq_restore(flags);
-}
-
 /*
  * Performance counter interrupts are global on all processors.
  */