diff options
author | 2011-11-29 11:03:56 +0800 | |
---|---|---|
committer | 2011-12-06 09:06:28 +0100 | |
commit | 5b680fd61388abb9059fbc8e7a2f60f602bfce15 (patch) | |
tree | 9626e2d0f20d2eebcc415b5b29401890da7a6448 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | sched: Fix the sched group node allocation for SD_OVERLAP domains (diff) | |
download | wireguard-linux-5b680fd61388abb9059fbc8e7a2f60f602bfce15.tar.xz wireguard-linux-5b680fd61388abb9059fbc8e7a2f60f602bfce15.zip |
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 <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>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions