lkml.org 
[lkml]   [2008]   [Mar]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 4 Mar 2008 16:24:17 +1000
FromGreg Ungerer <>
Subject[M68KNOMMU]: remove duplicate hw_tick() code
Remove duplicate hw_tick() function from 68328 timers code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
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
--- linux-2.6.25-rc3/arch/m68knommu/platform/68328/timers.c	2008-02-25 14:04:51.000000000 +1000
+++ linux-2.6.25-rc3.foo/arch/m68knommu/platform/68328/timers.c	2008-03-04 16:04:51.000000000 +1000
@@ -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,

\
 
 \ /
  Last update: 2008-03-04 07:29    [from the cache]
©2003-2008