From 1d9ef3ecd7fa2ca28064f03614f37409100c0527 Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto Date: Sat, 20 Oct 2007 01:26:25 +0900 Subject: [MIPS] Kill duplicated setup_irq() for cp0 timer Also many plat_timer_setup() can be killed too. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- arch/mips/sni/time.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'arch/mips/sni/time.c') diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index b80877349d38..0910b35cb71f 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c @@ -121,15 +121,6 @@ void __init plat_time_init(void) setup_pit_timer(); } -/* - * R4k counter based timer interrupt. Works on RM200-225 and possibly - * others but not on RM400 - */ -static void __init sni_cpu_timer_setup(struct irqaction *irq) -{ - setup_irq(SNI_MIPS_IRQ_CPU_TIMER, irq); -} - void __init plat_timer_setup(struct irqaction *irq) { switch (sni_brd_type) { @@ -139,15 +130,6 @@ void __init plat_timer_setup(struct irqaction *irq) case SNI_BRD_MINITOWER: sni_a20r_timer_setup(irq); break; - - case SNI_BRD_PCI_TOWER: - case SNI_BRD_RM200: - case SNI_BRD_PCI_MTOWER: - case SNI_BRD_PCI_DESKTOP: - case SNI_BRD_PCI_TOWER_CPLUS: - case SNI_BRD_PCI_MTOWER_CPLUS: - sni_cpu_timer_setup(irq); - break; } } -- cgit