sched/rt: Code cleanup, remove a redundant function call
authorShan Hai <haishan.bai@gmail.com>
Tue, 29 Nov 2011 03:03:56 +0000 (11:03 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 08:06:28 +0000 (09:06 +0100)
The second call to sched_rt_period() is redundant, because the value of the
rt_runtime was already read and it was protected by the ->rt_runtime_lock.

Signed-off-by: Shan Hai <haishan.bai@gmail.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322535836-13590-2-git-send-email-haishan.bai@gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found