sched: Simplify: migrate_swap_stop()

Use guards to reduce gotos and simplify control flow.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20230801211811.964370836@infradead.org
This commit is contained in:
Peter Zijlstra 2023-08-01 22:41:24 +02:00
commit 5bb76f1ddf
2 changed files with 27 additions and 16 deletions