summaryrefslogtreecommitdiffstats
path: root/kernel/sched/rt.c
diff options
context:
space:
mode:
authorAbel Vesa <abelvesa@gmail.com>2015-03-03 13:50:27 +0200
committerIngo Molnar <mingo@kernel.org>2015-04-02 17:42:55 +0200
commit07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6 (patch)
tree9110de4b6ce619b0d2932b14d22d94894716b050 /kernel/sched/rt.c
parenta1963b81deec54c113e770b0020e5f1c3188a087 (diff)
downloadop-kernel-dev-07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6.zip
op-kernel-dev-07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6.tar.gz
sched/core: Remove unused argument from init_[rt|dl]_rq()
Obviously, 'rq' is not used in these two functions, therefore, there is no reason for it to be passed as an argument. Signed-off-by: Abel Vesa <abelvesa@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/1425383427-26244-1-git-send-email-abelvesa@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r--kernel/sched/rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index ad02415..575da76 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -64,7 +64,7 @@ static void start_rt_bandwidth(struct rt_bandwidth *rt_b)
static void push_irq_work_func(struct irq_work *work);
#endif
-void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq)
+void init_rt_rq(struct rt_rq *rt_rq)
{
struct rt_prio_array *array;
int i;
@@ -205,7 +205,7 @@ int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
if (!rt_se)
goto err_free_rq;
- init_rt_rq(rt_rq, cpu_rq(i));
+ init_rt_rq(rt_rq);
rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime;
init_tg_rt_entry(tg, rt_rq, rt_se, i, parent->rt_se[i]);
}
OpenPOWER on IntegriCloud