[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <62813c68d43f7a9e1cf961710b6e1f4e698c7e4c.1490268634.git.viresh.kumar@linaro.org>
Date: Thu, 23 Mar 2017 17:05:59 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Cc: linaro-kernel@...ts.linaro.org, linux-kernel@...r.kernel.org,
Vincent Guittot <vincent.guittot@...aro.org>,
Viresh Kumar <viresh.kumar@...aro.org>
Subject: [PATCH 4/4] sched: core: drop useless expression from sched_init()
'ptr' is never used after setting 'rt_rq' and there is no need to update
it.
Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
---
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
Powered by blists - more mailing lists