sched/core: Consolidate switch_count assignment
PATCH 1/1 sched/core: Consolidate switch_count assignment
Eliminate redundancy by consolidating the switch_count assignment, removing the duplicate operation.
Signed-off-by Wang Jinchao <[email protected]>
--- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-)
kernel/sched/core.c +0 -1
@@ -6646,7 +6646,6 @@ static void __sched notrace __schedule(unsigned int sched_mode)delayacct_blkio_start (); } } - switch_count = &prev->nvcsw; } next =pick_next_task (rq, prev, &rf);
Signature · 1 line
2.40.0