HomeFreeBSD

hwpmc: flatten conditional in pmc_process_exit()

Description

hwpmc: flatten conditional in pmc_process_exit()

Use a goto to clarify the control flow when there is no process
descriptor. This wins back a level of indentation.

No functional change intended.

Reviewed by: jkoshy
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40518

Details

Provenance
mhorneAuthored on Jun 14 2023, 4:33 PM
Reviewer
jkoshy
Differential Revision
D40518: hwpmc: flatten conditional in pmc_process_exit()
Parents
rG93fe5909babb: hwpmc: split out PMC_OP_PMCRW
Branches
Unknown
Tags
Unknown