Page MenuHomeFreeBSD

camcontrol: stop pretending cam_cmd is a bitmask
ClosedPublic

Authored by trasz on Dec 29 2020, 5:19 PM.

Details

Summary

Cleanup only, no functional changes.

camcontrol(8): remove unnecessary CCB zeroing

After 3e404b8c53d, cam_getccb(3) clears the returned CCB, making
a number of calls to CCB_CLEAR_ALL_EXCEPT_HDR(3) unnecessary.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.