Skip to content
Snippets Groups Projects
Commit 70eee74b authored by Balbir Singh's avatar Balbir Singh Committed by Ingo Molnar
Browse files

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: default avatarBalbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6892b75e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment