HomeFreeBSD

cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent

Description

cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent

There's no reason to inline xpt_path_inq here. While there was a
mismatch between this use (CAM_PRIORITY_NONE) and the old xpt_path_inq
code (which used CAM_PRIORITY_NORMAL), xpt_path_inq has been corrected
to use _NONE since this is a non-queued command.

Sponsored by: Netflix
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D51168

Details

Provenance
impAuthored on Jul 7 2025, 8:04 PM
Reviewer
jhb
Differential Revision
D51168: cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent
Parents
rGc6dc5d367681: xpt_path_inq: Use CAM_PRIORITY_NONE
Branches
Unknown
Tags
Unknown