]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
timers/migration: Convert "while" loops to use "for"
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 24 Oct 2025 13:25:31 +0000 (15:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:46 +0000 (14:02 +0100)
commite21665bac15c642c2cd48a283a06de8c51e689fb
treef8151392a57d8d8d8d28624b59f6e5d9149d7204
parentd7eaed82c21ea760acb16ded5924896b95cce767
timers/migration: Convert "while" loops to use "for"

[ Upstream commit 6c181b5667eea3e6564d334443536a5974190e15 ]

Both the "do while" and "while" loops in tmigr_setup_groups() eventually
mimic the behaviour of "for" loops.

Simplify accordingly.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251024132536.39841-2-frederic@kernel.org
Stable-dep-of: 5eb579dfd46b ("timers/migration: Fix imbalanced NUMA trees")
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/time/timer_migration.c