diff options
author | David Laight <David.Laight@ACULAB.COM> | 2023-12-29 23:56:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-12-30 21:25:51 +0300 |
commit | b106bcf0f99ae0459f3c8c2f0af575ef9f5d9bde (patch) | |
tree | b6353e163374cfac2989c69b8398dcf205c8a62b /COPYING | |
parent | 563adbfc351b2af9f1406b809ba60b9f1673a882 (diff) | |
download | linux-b106bcf0f99ae0459f3c8c2f0af575ef9f5d9bde.tar.xz |
locking/osq_lock: Clarify osq_wait_next()
Directly return NULL or 'next' instead of breaking out of the loop.
Signed-off-by: David Laight <david.laight@aculab.com>
[ Split original patch into two independent parts - Linus ]
Link: https://lore.kernel.org/lkml/7c8828aec72e42eeb841ca0ee3397e9a@AcuMS.aculab.com/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions