diff options
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/timekeeping.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 016a2591d719..b5673016089f 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c | |||
@@ -295,7 +295,6 @@ static void change_clocksource(void) | |||
295 | if (old->disable) | 295 | if (old->disable) |
296 | old->disable(old); | 296 | old->disable(old); |
297 | 297 | ||
298 | clock->cycle_last = 0; | ||
299 | clock->cycle_last = clock->read(clock); | 298 | clock->cycle_last = clock->read(clock); |
300 | clock->error = 0; | 299 | clock->error = 0; |
301 | clock->xtime_nsec = 0; | 300 | clock->xtime_nsec = 0; |