HomeFreeBSD

cam: Small reorg of ata xpt async code

Description

cam: Small reorg of ata xpt async code

Use a switch rather than a nested if to simplify the async event
processing code. No functional changes intended.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D35038

Details

Provenance
impAuthored on Apr 25 2022, 6:54 PM
Reviewer
mav
Differential Revision
D35038: cam: Small reorg of ata xpt async code
Parents
rG67fc95025ccf: sched_getaffinity(3): more compatibility with Linux
Branches
Unknown
Tags
Unknown