From: Shan Hai Date: Tue, 29 Nov 2011 03:03:56 +0000 (+0800) Subject: sched/rt: Code cleanup, remove a redundant function call X-Git-Tag: v3.3-rc1~191^2~9^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b680fd61388abb9059fbc8e7a2f60f602bfce15;p=pandora-kernel.git sched/rt: Code cleanup, remove a redundant function call 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 Reviewed-by: Kamalesh Babulal Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1322535836-13590-2-git-send-email-haishan.bai@gmail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed