sched: Remove noop in next_prio()
authorHillf Danton <dhillf@gmail.com>
Fri, 17 Jun 2011 01:55:18 +0000 (21:55 -0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Aug 2011 10:00:45 +0000 (12:00 +0200)
commit67d955383ab2ef8866c494c14156a4f3d29e441c
tree3b18abcc6ccc8c7d4001319d41fb1af6c2971377
parentc350a04efd1c89cd256b2abc8f07a21d0d53ff24
sched: Remove noop in next_prio()

When computing the next priority for a given run-queue, the check for
RT priority of the task determined by the pick_next_highest_task_rt()
function could be removed, since only RT tasks are returned by the
function.

Reviewed-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/BANLkTimxmWiof9s5AvS3v_0X+sMiE=0x5g@mail.gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c