HomeFreeBSD

MFC r280792

Description

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.

Details

Provenance
vangyzenAuthored on
Parents
rS288493: Add aarch64 support to truss(1).
Branches
Unknown
Tags
Unknown