提交 82e0516c 编写于 作者: S Scott Wood 提交者: Thomas Gleixner

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: NScott Wood <swood@redhat.com>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: NIngo Molnar <mingo@kernel.org>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1580776558-12882-1-git-send-email-swood@redhat.com
上级 b4fb015e
...@@ -3683,7 +3683,6 @@ static void sched_tick_remote(struct work_struct *work) ...@@ -3683,7 +3683,6 @@ static void sched_tick_remote(struct work_struct *work)
if (cpu_is_offline(cpu)) if (cpu_is_offline(cpu))
goto out_unlock; goto out_unlock;
curr = rq->curr;
update_rq_clock(rq); update_rq_clock(rq);
if (!is_idle_task(curr)) { if (!is_idle_task(curr)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册