tick/sched: Don't clear ts::next_tick again in can_stop_idle_tick()
[sfrench/cifs-2.6.git] / kernel / time / tick-sched.c
index 9f75f562196557d373198d6a2031fc2060ff7a5a..b17895de26b9f21dfc186646e8de3a722af1e6b5 100644 (file)
@@ -1143,11 +1143,6 @@ static bool can_stop_idle_tick(int cpu, struct tick_sched *ts)
        if (unlikely(!cpu_online(cpu))) {
                if (cpu == tick_do_timer_cpu)
                        tick_do_timer_cpu = TICK_DO_TIMER_NONE;
-               /*
-                * Make sure the CPU doesn't get fooled by obsolete tick
-                * deadline if it comes back online later.
-                */
-               ts->next_tick = 0;
                return false;
        }