linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sched/core: sched_tick_remote: Remove duplicate assignment
@ 2020-02-04  0:35 Scott Wood
  2020-02-04 14:27 ` Phil Auld
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Scott Wood @ 2020-02-04  0:35 UTC (permalink / raw)
  To: Peter Zijlstra, Frederic Weisbecker, Thomas Gleixner, Ingo Molnar
  Cc: linux-kernel, Scott Wood

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

Fixes: ebc0f83c78a2 ("timers/nohz: Update NOHZ load in remote tick")
Signed-off-by: Scott Wood <swood@redhat.com>
---
 kernel/sched/core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 45f79bcc3146..377ec26e9159 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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)) {
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-20 20:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  0:35 [PATCH] sched/core: sched_tick_remote: Remove duplicate assignment Scott Wood
2020-02-04 14:27 ` Phil Auld
2020-02-04 17:00   ` Scott Wood
2020-02-11 12:47 ` [tip: sched/core] sched/core: Remove duplicate assignment in sched_tick_remote() tip-bot2 for Scott Wood
2020-02-20 20:09 ` tip-bot2 for Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).