diff options
| author | Petr Tesarik <[email protected]> | 2025-06-06 12:48:18 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-06-12 19:03:45 +0000 |
| commit | ff56a3e2a8613e8524f40ef2efa2c0169659e99e (patch) | |
| tree | e509ddb55cfda0ba21b888a66ed1fe598e6b2a77 /net/unix/af_unix.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-ff56a3e2a8613e8524f40ef2efa2c0169659e99e.tar.gz kernel-ff56a3e2a8613e8524f40ef2efa2c0169659e99e.zip | |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
