]> 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)
commit17065382a175d0042e55e875cf70f545692958b6
tree9164575614f17bbce9a03128af460e997189a808
parentb80f0772c879eab1afff8e018ea422c21c5945d0
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