sched: Remove unnecessary variable from schedule_tail()
authorEdmundo Carmona Antoranz <eantoranz@gmail.com>
Sat, 6 Mar 2021 21:07:39 +0000 (15:07 -0600)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 10 Mar 2021 08:51:49 +0000 (09:51 +0100)
commit13c2235b2b2870675195f0b551275d1abdd81068
treecae34342507f0458f49cd1a48a904a8ec68504a9
parent1e17fb8edc5ad6587e9303ccdebce853bc8cf30c
sched: Remove unnecessary variable from schedule_tail()

Since 565790d28b1 (sched: Fix balance_callback(), 2020-05-11), there
is no longer a need to reuse the result value of the call to finish_task_switch()
inside schedule_tail(), therefore the variable used to hold that value
(rq) is no longer needed.

Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210306210739.1370486-1-eantoranz@gmail.com
kernel/sched/core.c