Skip to content

Commit

Permalink
sched/core: Remove duplicate assignment in sched_tick_remote()
Browse files Browse the repository at this point in the history
A redundant "curr = rq->curr" was added; remove it.

Fixes: ebc0f83 ("timers/nohz: Update NOHZ load in remote tick")
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1580776558-12882-1-git-send-email-swood@redhat.com
  • Loading branch information
Scott Wood authored and Thomas Gleixner committed Feb 20, 2020
1 parent b4fb015 commit 82e0516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3683,7 +3683,6 @@ static void sched_tick_remote(struct work_struct *work)
if (cpu_is_offline(cpu))
goto out_unlock;

curr = rq->curr;
update_rq_clock(rq);

if (!is_idle_task(curr)) {
Expand Down

0 comments on commit 82e0516

Please sign in to comment.