Commit 82e0516c authored by Scott Wood's avatar Scott Wood Committed by Thomas Gleixner
Browse files

sched/core: Remove duplicate assignment in sched_tick_remote()



A redundant "curr = rq->curr" was added; remove it.

Fixes: ebc0f83c ("timers/nohz: Update NOHZ load in remote tick")
Signed-off-by: default avatarScott Wood <swood@redhat.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1580776558-12882-1-git-send-email-swood@redhat.com
parent b4fb015e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)) {