]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: remove duplicate code from sched_fair.c
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Fri, 22 Feb 2008 07:55:53 +0000 (13:25 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Feb 2008 15:34:17 +0000 (16:34 +0100)
commit70eee74b70c1a8485ec5f2bafa13dbc66fab6e02
tree837c9a55d3c21221b8f7b29a468fb6d366f3dc4c
parent6892b75e60557a48c01d57ba320419a9e2ce9846
sched: remove duplicate code from sched_fair.c

pick_task_entity() duplicates existing code. This functionality can be
easily obtained using rb_last(). Avoid code duplication by using rb_last().

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c