Re: [PATCH 1/1] sched/rt: code cleanup, remove a redundant functioncall

From: Peter Zijlstra
Date: Tue Nov 29 2011 - 08:17:18 EST


On Tue, 2011-11-29 at 11:03 +0800, Shan Hai wrote:
> The second time call to sched_rt_period is redundant, because the value of the
> rt_runtime was already read and it was protected by the rurt_runtime_lock.
>
> Signed-off-by: Shan Hai <haishan.bai@xxxxxxxxx>
> ---
> kernel/sched_rt.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Note that that file doesn't exist anymore, scheduler patches should be
posted against tip/master.

Anyway, fixed that up and applied it. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/