Skip to content
Snippets Groups Projects
Commit 0f317143 authored by Lin Ming's avatar Lin Ming Committed by Ingo Molnar
Browse files

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: default avatarLin 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: default avatarIngo Molnar <mingo@elte.hu>
parent 2bd2d6f2
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