diff options
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r-- | kernel/sched/core.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index aa5973220ad2..4d568ac9319e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -8244,13 +8244,6 @@ static void cpu_cgroup_attach(struct cgroup_subsys_state *css, | |||
8244 | sched_move_task(task); | 8244 | sched_move_task(task); |
8245 | } | 8245 | } |
8246 | 8246 | ||
8247 | static void cpu_cgroup_exit(struct cgroup_subsys_state *css, | ||
8248 | struct cgroup_subsys_state *old_css, | ||
8249 | struct task_struct *task) | ||
8250 | { | ||
8251 | sched_move_task(task); | ||
8252 | } | ||
8253 | |||
8254 | #ifdef CONFIG_FAIR_GROUP_SCHED | 8247 | #ifdef CONFIG_FAIR_GROUP_SCHED |
8255 | static int cpu_shares_write_u64(struct cgroup_subsys_state *css, | 8248 | static int cpu_shares_write_u64(struct cgroup_subsys_state *css, |
8256 | struct cftype *cftype, u64 shareval) | 8249 | struct cftype *cftype, u64 shareval) |
@@ -8582,7 +8575,6 @@ struct cgroup_subsys cpu_cgrp_subsys = { | |||
8582 | .fork = cpu_cgroup_fork, | 8575 | .fork = cpu_cgroup_fork, |
8583 | .can_attach = cpu_cgroup_can_attach, | 8576 | .can_attach = cpu_cgroup_can_attach, |
8584 | .attach = cpu_cgroup_attach, | 8577 | .attach = cpu_cgroup_attach, |
8585 | .exit = cpu_cgroup_exit, | ||
8586 | .legacy_cftypes = cpu_files, | 8578 | .legacy_cftypes = cpu_files, |
8587 | .early_init = 1, | 8579 | .early_init = 1, |
8588 | }; | 8580 | }; |