]> err.no Git - linux-2.6/commitdiff
sched: clean up schedule_balance_rt()
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:17 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:17 +0000 (21:08 +0100)
clean up schedule_balance_rt().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c

index 05ada7d448009c6ec4c214cd799743604c4a4358..4d0a60e47dfab5e06405cffbd803a1ededd4708e 100644 (file)
@@ -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);
 }