sched: Remove noop in next_prio()
[sfrench/cifs-2.6.git] / kernel / sched_rt.c
index 97540f0c9e47849543bc8a32e64b7bdff8ac4e01..e2698c0fc697fefcb13944e15bbcbadb742fcd42 100644 (file)
@@ -704,7 +704,7 @@ static inline int next_prio(struct rq *rq)
 {
        struct task_struct *next = pick_next_highest_task_rt(rq, rq->cpu);
 
-       if (next && rt_prio(next->prio))
+       if (next)
                return next->prio;
        else
                return MAX_RT_PRIO;