LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [M68KNOMMU]: remove duplicate hw_tick() code
@ 2008-03-04  6:24 Greg Ungerer
  0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2008-03-04  6:24 UTC (permalink / raw)
  To: torvalds; +Cc: gerg, linux-kernel

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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-04  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04  6:24 [M68KNOMMU]: remove duplicate hw_tick() code Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).