[PATCH 4/4] sched: core: drop useless expression from sched_init()
From: Viresh Kumar
Date: Thu Mar 23 2017 - 07:36:48 EST
'ptr' is never used after setting 'rt_rq' and there is no need to update
it.
Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
kernel/sched/core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 6d6cad9a46af..bd33a05d038b 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5992,7 +5992,6 @@ void __init sched_init(void)
ptr += nr_cpu_ids * sizeof(void **);
root_task_group.rt_rq = (struct rt_rq **)ptr;
- ptr += nr_cpu_ids * sizeof(void **);
#endif /* CONFIG_RT_GROUP_SCHED */
}
--
2.12.0.432.g71c3a4f4ba37