Skip to content
Commit b106bcf0 authored by David Laight's avatar David Laight Committed by Linus Torvalds
Browse files

locking/osq_lock: Clarify osq_wait_next()



Directly return NULL or 'next' instead of breaking out of the loop.

Signed-off-by: default avatarDavid 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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 563adbfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment