Timer: Remove reset_timer() for non-Nios2 arches

This commit is contained in:
Graeme Russ 2011-07-15 02:19:44 +00:00 committed by Wolfgang Denk
parent e110c4fe44
commit 4769be21cc
49 changed files with 9 additions and 270 deletions

View 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();