summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.com>2025-06-06 14:48:18 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-06-12 21:03:45 +0200
commitff56a3e2a8613e8524f40ef2efa2c0169659e99e (patch)
treee509ddb55cfda0ba21b888a66ed1fe598e6b2a77 /scripts/lib
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
timers/migration: Clean up the loop in tmigr_quick_check()
Make the logic easier to follow: - Remove the final return statement, which is never reached, and move the actual walk-terminating return statement out of the do-while loop. - Remove the else-clause to reduce indentation. If a non-lonely group is encountered during the walk, the loop is immediately terminated with a return statement anyway; no need for an else. Signed-off-by: Petr Tesarik <ptesarik@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/all/20250606124818.455560-1-ptesarik@suse.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions