Messages in this thread | | | Subject | Re: [PATCH 1/1] sched/rt: code cleanup, remove a redundant function call | From | Peter Zijlstra <> | Date | Tue, 29 Nov 2011 14:17:02 +0100 |
| |
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@gmail.com> > --- > 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!
| |