linux-mips
[Top] [All Lists]

[PATCH] Remove unused rm9k_cpu_irq_disable()

To: linux-mips@linux-mips.org
Subject: [PATCH] Remove unused rm9k_cpu_irq_disable()
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 08 Jan 2007 00:20:24 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
rm9k_cpu_irq_disable() is unused since commit
1603b5aca4f15b34848fb5594d0c7b6333b99144.  Remove it.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/kernel/irq-rm9000.c b/arch/mips/kernel/irq-rm9000.c
index 0e6f4c5..2e68e4b 100644
--- a/arch/mips/kernel/irq-rm9000.c
+++ b/arch/mips/kernel/irq-rm9000.c
@@ -39,15 +39,6 @@ static inline void rm9k_cpu_irq_enable(u
        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.
  */

<Prev in Thread] Current Thread [Next in Thread>