]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up some cosmetic nits in kern_umtx.c, found during recent work
authorEric van Gyzen <vangyzen@FreeBSD.org>
Sat, 28 Mar 2015 21:21:40 +0000 (21:21 +0000)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Sat, 28 Mar 2015 21:21:40 +0000 (21:21 +0000)
commite858b027dbc2c0e1e96584967ada0231fe0301ff
tree7fffb5aed825783480d3a1a53a3b14ca53380e93
parentb7ece01c7e11a1354b1b5b4b8ce9c4d2aa8125a8
Clean up some cosmetic nits in kern_umtx.c, found during recent work
in this area and by the Clang static analyzer.

Remove some dead assignments.

Fix a typo in a panic string.

Use umtx_pi_disown() instead of duplicate code.

Use an existing variable instead of curthread.

Approved by: kib (mentor)
MFC after: 3 days
Sponsored by: Dell Inc
sys/kern/kern_umtx.c