sched: Cleanup duplicate local variable in [enqueue|dequeue]_task_fair
authorLin Ming <ming.m.lin@intel.com>
Fri, 22 Jul 2011 01:14:31 +0000 (09:14 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Jul 2011 10:47:22 +0000 (12:47 +0200)
commit0f3171438fc917b9f6b8b60dbb7a3fff9a0f68fd
tree9164575614f17bbce9a03128af460e997189a808
parent2bd2d6f2dc952fc44fc52887de36e51896da96b9
sched: Cleanup duplicate local variable in [enqueue|dequeue]_task_fair

No need to define a new "cfs_rq" variable in the "for" block.
Just use the one at the top of the function.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1311297271.3938.1352.camel@minggr.sh.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c