summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-04 20:32:41 +0000
committerjhb <jhb@FreeBSD.org>2003-03-04 20:32:41 +0000
commitf78f351da3ab2ef37d3c47a8577df0cec4e271cd (patch)
tree842b508fe0eef7a8afde073a77ad4c34f18e1d8d /contrib
parent3b2bb7e47b9eeacda34542c9c0135f7cff2bbeab (diff)
downloadFreeBSD-src-f78f351da3ab2ef37d3c47a8577df0cec4e271cd.zip
FreeBSD-src-f78f351da3ab2ef37d3c47a8577df0cec4e271cd.tar.gz
Miscellaneous cleanups to _mtx_lock_sleep():
- Declare some local variables at the top of the function instead of in a nested block. - Use mtx_owned() instead of masking off bits from mtx_lock manually. - Read the value of mtx_lock into 'v' as a separate line rather than inside an if statement for clarity. This code is hairy enough as it is.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud