]> err.no Git - linux-2.6/commitdiff
sh: Kill off dead ipr_irq_demux().
authorPaul Mundt <lethal@linux-sh.org>
Wed, 31 Oct 2007 06:17:03 +0000 (15:17 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 31 Oct 2007 06:17:03 +0000 (15:17 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/irq/ipr.c

index 5da325414880abb50f68231cb001a80888cf7517..56ea7b269b59c4fdc3d0503bdfc411b39cb45971 100644 (file)
@@ -49,7 +49,6 @@ static void enable_ipr_irq(unsigned int irq)
  * bits/4. This is to make it easier to read the value directly from the
  * datasheets. The IPR address is calculated using the ipr_offset table.
  */
-
 void register_ipr_controller(struct ipr_desc *desc)
 {
        int i;
@@ -71,12 +70,4 @@ void register_ipr_controller(struct ipr_desc *desc)
                disable_ipr_irq(p->irq);
        }
 }
-
 EXPORT_SYMBOL(register_ipr_controller);
-
-#if !defined(CONFIG_CPU_HAS_PINT_IRQ)
-int ipr_irq_demux(int irq)
-{
-       return irq;
-}
-#endif