From: David S. Miller Date: Sun, 14 Sep 2008 05:07:40 +0000 (-0700) Subject: sparc32: Remove #if 0'd code from sun4c_irq.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a73554aedb8f69bd2024cbbf74980582bb91afb4;p=openwrt%2Fstaging%2Fblogic.git sparc32: Remove #if 0'd code from sun4c_irq.c Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/sun4c_irq.c b/arch/sparc/kernel/sun4c_irq.c index 722d2516f284..5602972f3570 100644 --- a/arch/sparc/kernel/sun4c_irq.c +++ b/arch/sparc/kernel/sun4c_irq.c @@ -36,11 +36,6 @@ #include #include -#if 0 -static struct resource sun4c_timer_eb = { "sun4c_timer" }; -static struct resource sun4c_intr_eb = { "sun4c_intr" }; -#endif - /* * Bit field defines for the interrupt registers on various * Sparc machines. @@ -173,10 +168,6 @@ static void __init sun4c_init_timers(irq_handler_t counter_fn) prom_halt(); } -#if 0 - /* This does not work on 4/330 */ - sun4c_enable_irq(10); -#endif claim_ticker14(NULL, PROFILE_IRQ, 0); }