Merge branch 'sched/urgent' into sched/core, to pick up fixes before applying new...
[cascardo/linux.git] / kernel / sched / core.c
index 87ca0be..291552b 100644 (file)
@@ -7930,11 +7930,9 @@ void sched_destroy_group(struct task_group *tg)
 void sched_offline_group(struct task_group *tg)
 {
        unsigned long flags;
-       int i;
 
        /* end participation in shares distribution */
-       for_each_possible_cpu(i)
-               unregister_fair_sched_group(tg, i);
+       unregister_fair_sched_group(tg);
 
        spin_lock_irqsave(&task_group_lock, flags);
        list_del_rcu(&tg->list);