From: Ingo Molnar Date: Fri, 25 Jan 2008 20:08:17 +0000 (+0100) Subject: sched: clean up schedule_balance_rt() X-Git-Tag: v2.6.25-rc1~1237^2~54 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7f51f298204ec0528422cd9b23feac12612c5665;p=linux-2.6-omap-h63xx.git sched: clean up schedule_balance_rt() clean up schedule_balance_rt(). Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 05ada7d4480..4d0a60e47df 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -701,12 +701,10 @@ static int pull_rt_task(struct rq *this_rq) return ret; } -static void schedule_balance_rt(struct rq *rq, - struct task_struct *prev) +static void schedule_balance_rt(struct rq *rq, struct task_struct *prev) { /* Try to pull RT tasks here if we lower this rq's prio */ - if (unlikely(rt_task(prev)) && - rq->rt.highest_prio > prev->prio) + if (unlikely(rt_task(prev)) && rq->rt.highest_prio > prev->prio) pull_rt_task(rq); }