tick/sched: Remove bogus boot "safety" check
[sfrench/cifs-2.6.git] / kernel / time / tick-sched.c
index a9e68936822d4faa8045cfff80ad0375abfb628a..5fbc748f0058003e2e8867677a896c936343c715 100644 (file)
@@ -991,13 +991,6 @@ static bool can_stop_idle_tick(int cpu, struct tick_sched *ts)
                 */
                if (tick_do_timer_cpu == cpu)
                        return false;
-               /*
-                * Boot safety: make sure the timekeeping duty has been
-                * assigned before entering dyntick-idle mode,
-                * tick_do_timer_cpu is TICK_DO_TIMER_BOOT
-                */
-               if (unlikely(tick_do_timer_cpu == TICK_DO_TIMER_BOOT))
-                       return false;
 
                /* Should not happen for nohz-full */
                if (WARN_ON_ONCE(tick_do_timer_cpu == TICK_DO_TIMER_NONE))