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

From: Shan Hai
Date: Tue Nov 29 2011 - 21:36:05 EST


On Tue, Nov 29, 2011 at 02:17:02PM +0100, Peter Zijlstra wrote:
> 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.
>

Got it, thanks.

Cheers
Shan Hai

> 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/