Re: [PATCH] sched/cputime: Remove unnecessary assignment statement

2019-02-28 Thread Ketan Patil
, Peter Zijlstra wrote: On Wed, Feb 27, 2019 at 11:43:22AM +0530, Ketan Patil wrote: The original code assigns the value from rtime to utime variable, and then jumps to the update label. And the value of utime is then updated, so the earlier value of utime is not used. Hence remove that unnecessary

[PATCH] sched/cputime: Remove unnecessary assignment statement

2019-02-26 Thread Ketan Patil
Ishan Mittal Signed-off-by: Ketan Patil --- kernel/sched/cputime.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c index ba4a143..ad64771 100644 --- a/kernel/sched/cputime.c +++ b/kernel/sched/cputime.c @@ -616,10 +616,8