From: Paul Mundt Date: Thu, 24 May 2012 04:59:35 +0000 (+0900) Subject: sh: Kill off now unused arch_probe_nr_irqs(). X-Git-Tag: v3.6-rc1~131^2~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b386624576eb00a7c7cad0e713952121708598;p=thirdparty%2Fkernel%2Fstable.git sh: Kill off now unused arch_probe_nr_irqs(). Now that legacy pre-allocation is done away with, we can just use the generic stub in kernel/softirq.c. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index dadce735f7465..063af10ff3c1e 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c @@ -231,16 +231,6 @@ void __init init_IRQ(void) irq_ctx_init(smp_processor_id()); } -#ifdef CONFIG_SPARSE_IRQ -int __init arch_probe_nr_irqs(void) -{ - /* - * No pre-allocated IRQs. - */ - return 0; -} -#endif - #ifdef CONFIG_HOTPLUG_CPU static void route_irq(struct irq_data *data, unsigned int irq, unsigned int cpu) {