From: Paul Mundt Date: Wed, 31 Oct 2007 06:17:03 +0000 (+0900) Subject: sh: Kill off dead ipr_irq_demux(). X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b2078fa221e31a491d0bd720e3acdf9870fe40fd;p=openwrt%2Fstaging%2Fblogic.git sh: Kill off dead ipr_irq_demux(). Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c index 5da325414880..56ea7b269b59 100644 --- a/arch/sh/kernel/cpu/irq/ipr.c +++ b/arch/sh/kernel/cpu/irq/ipr.c @@ -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