]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/sparc/lib/interrupts.c
Timer: Remove reset_timer() for non-Nios2 arches
[karo-tx-uboot.git] / arch / sparc / lib / interrupts.c
index 5274311a64007bd9a188fabe03d1434b1b8ba455..61ee90b6d41fc7a9c72fe8f6f997eb0f2214d536 100644 (file)
@@ -90,11 +90,6 @@ void timer_interrupt(struct pt_regs *regs)
        timestamp++;
 }
 
-void reset_timer(void)
-{
-       timestamp = 0;
-}
-
 ulong get_timer(ulong base)
 {
        return (timestamp - base);
@@ -104,7 +99,7 @@ void timer_interrupt_init(void)
 {
        int irq;
 
-       reset_timer();
+       timestamp = 0;
 
        irq = timer_interrupt_init_cpu();