]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b247ba956098f9d4cdd72b11988b382dc22d555
tree9164575614f17bbce9a03128af460e997189a808
parent2b1f1aa1fd34add98657c1c5ce417e32990741e0
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