Skip to content

Commit 82e0516

Browse files
crwood-rhKAGA-KOKO
authored andcommitted
sched/core: Remove duplicate assignment in sched_tick_remote()
A redundant "curr = rq->curr" was added; remove it. Fixes: ebc0f83 ("timers/nohz: Update NOHZ load in remote tick") Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent b4fb015 commit 82e0516

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/sched/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3683,7 +3683,6 @@ static void sched_tick_remote(struct work_struct *work)
36833683
if (cpu_is_offline(cpu))
36843684
goto out_unlock;
36853685

3686-
curr = rq->curr;
36873686
update_rq_clock(rq);
36883687

36893688
if (!is_idle_task(curr)) {

0 commit comments

Comments
 (0)