aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 2caedc47e764..9715f4ce6cfe 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -9088,7 +9088,6 @@ cpu_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cgrp)
9088 9088
9089 if (!cgrp->parent) { 9089 if (!cgrp->parent) {
9090 /* This is early initialization for the top cgroup */ 9090 /* This is early initialization for the top cgroup */
9091 init_task_group.css.cgroup = cgrp;
9092 return &init_task_group.css; 9091 return &init_task_group.css;
9093 } 9092 }
9094 9093
@@ -9097,9 +9096,6 @@ cpu_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cgrp)
9097 if (IS_ERR(tg)) 9096 if (IS_ERR(tg))
9098 return ERR_PTR(-ENOMEM); 9097 return ERR_PTR(-ENOMEM);
9099 9098
9100 /* Bind the cgroup to task_group object we just created */
9101 tg->css.cgroup = cgrp;
9102
9103 return &tg->css; 9099 return &tg->css;
9104} 9100}
9105 9101