commit | 70eee74b70c1a8485ec5f2bafa13dbc66fab6e02 | [log] [tgz] |
---|---|---|
author | Balbir Singh <balbir@linux.vnet.ibm.com> | Fri Feb 22 13:25:53 2008 +0530 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Feb 25 16:34:17 2008 +0100 |
tree | 837c9a55d3c21221b8f7b29a468fb6d366f3dc4c | |
parent | 6892b75e60557a48c01d57ba320419a9e2ce9846 [diff] |
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>