From 4769be21cca65f1e7bef27bc024d886842bc6bad Mon Sep 17 00:00:00 2001 From: Graeme Russ Date: Fri, 15 Jul 2011 02:19:44 +0000 Subject: Timer: Remove reset_timer() for non-Nios2 arches --- arch/sh/lib/time_sh2.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/sh/lib/time_sh2.c') diff --git a/arch/sh/lib/time_sh2.c b/arch/sh/lib/time_sh2.c index a5c838bff0..58271186e2 100644 --- a/arch/sh/lib/time_sh2.c +++ b/arch/sh/lib/time_sh2.c @@ -90,14 +90,6 @@ ulong get_timer(ulong base) return (get_usec() / 1000) - base; } -void reset_timer(void) -{ - cmt_timer_stop(0); - writew(CMT_TIMER_RESET, CMCOR_0); - cmt0_timer = 0; - cmt_timer_start(0); -} - void __udelay(unsigned long usec) { unsigned long end = get_usec() + usec; -- cgit