git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched: Remove noop in next_prio()
[sfrench/cifs-2.6.git]
/
kernel
/
sched_rt.c
diff --git
a/kernel/sched_rt.c
b/kernel/sched_rt.c
index 97540f0c9e47849543bc8a32e64b7bdff8ac4e01..e2698c0fc697fefcb13944e15bbcbadb742fcd42 100644
(file)
--- a/
kernel/sched_rt.c
+++ b/
kernel/sched_rt.c
@@
-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;