diff options
| -rw-r--r-- | kernel/sched/fair.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d941c97dfbc3..c242944f5cbd 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c | |||
| @@ -8839,7 +8839,6 @@ int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) | |||
| 8839 | { | 8839 | { |
| 8840 | struct sched_entity *se; | 8840 | struct sched_entity *se; |
| 8841 | struct cfs_rq *cfs_rq; | 8841 | struct cfs_rq *cfs_rq; |
| 8842 | struct rq *rq; | ||
| 8843 | int i; | 8842 | int i; |
| 8844 | 8843 | ||
| 8845 | tg->cfs_rq = kzalloc(sizeof(cfs_rq) * nr_cpu_ids, GFP_KERNEL); | 8844 | tg->cfs_rq = kzalloc(sizeof(cfs_rq) * nr_cpu_ids, GFP_KERNEL); |
| @@ -8854,8 +8853,6 @@ int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) | |||
| 8854 | init_cfs_bandwidth(tg_cfs_bandwidth(tg)); | 8853 | init_cfs_bandwidth(tg_cfs_bandwidth(tg)); |
| 8855 | 8854 | ||
| 8856 | for_each_possible_cpu(i) { | 8855 | for_each_possible_cpu(i) { |
| 8857 | rq = cpu_rq(i); | ||
| 8858 | |||
| 8859 | cfs_rq = kzalloc_node(sizeof(struct cfs_rq), | 8856 | cfs_rq = kzalloc_node(sizeof(struct cfs_rq), |
| 8860 | GFP_KERNEL, cpu_to_node(i)); | 8857 | GFP_KERNEL, cpu_to_node(i)); |
| 8861 | if (!cfs_rq) | 8858 | if (!cfs_rq) |
