HomeFreeBSD

mmc_xpt: Remove dubious end of mmc_print_ident

Description

mmc_xpt: Remove dubious end of mmc_print_ident

The end of this function finishes the passed in sbuf, calls printf
manually on the contents, and then clears it. The caller then tries
to print the resulting sbuf. This works currently but will not work
for future callers that pass in an external sbuf to be appended to.

Reviewed by: mav
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D41260

Details

Provenance
jhbAuthored on Aug 1 2023, 10:20 PM
Reviewer
mav
Differential Revision
D41260: mmc_xpt: Remove dubious end of mmc_print_ident
Parents
rG76b2e3907ced: cam xpt_*nounce_periph*: Various fixes for periphs without a protocol
Branches
Unknown
Tags
Unknown