]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r280792
authorvangyzen <vangyzen@FreeBSD.org>
Fri, 2 Oct 2015 13:48:32 +0000 (13:48 +0000)
committervangyzen <vangyzen@FreeBSD.org>
Fri, 2 Oct 2015 13:48:32 +0000 (13:48 +0000)
commitc52fb6e472dc93b102df025a3c890d7c138ab9d1
tree77ecbb5de28c175767399e04485b9b75f586ab85
parentce6871d5482c4e81e6fe27a37d958407993e7b67
MFC r280792

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 until recently)
Sponsored by:   Dell Inc.
sys/kern/kern_umtx.c