Skip to contentSkip to conversation

: remove duplicate hw_tick() code

M68KNOMMU Greg Ungerer 1 participant 1 message Mar 4, 2008

lore
Share & tools
lore
#0 lore raw

Remove duplicate hw_tick() function from 68328 timers code.

---

arch/m68knommu/platform/68328/timers.c +0 -10
diff -Naurp linux-2.6.25-rc3/arch/m68knommu/platform/68328/timers.c linux-2.6.25-rc3.foo/arch/m68knommu/platform/68328/timers.c
@@ -67,16 +67,6 @@ static irqreturn_t hw_tick(int irq, void
 
 /***************************************************************************/
 
-static irqreturn_t hw_tick(int irq, void *dummy)
-{
-	/* Reset Timer1 */
-	TSTAT &= 0;
-
-	return arch_timer_interrupt(irq, dummy);
-}
-
-/***************************************************************************/
-
 static struct irqaction m68328_timer_irq = {
 	.name	 = "timer",
 	.flags	 = IRQF_DISABLED | IRQF_TIMER,