Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / kernel / time / tick-sched.c
index 0302829..e10a4af 100644 (file)
@@ -989,13 +989,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))