summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2019-12-05 18:42:13 +0000
committerkrw <krw@openbsd.org>2019-12-05 18:42:13 +0000
commit85f9847c37acba9e95ee25da7430ccfbfa06a4ef (patch)
tree5565b8d65848a26c3980a6fe9244b264cdee7f1f /lib
parentNo need for 'byte2' parameter to scsi_mode_sense[_big]() since we (diff)
downloadwireguard-openbsd-85f9847c37acba9e95ee25da7430ccfbfa06a4ef.tar.xz
wireguard-openbsd-85f9847c37acba9e95ee25da7430ccfbfa06a4ef.zip
Shrink scsi_mode_do_sense() parameter list by eliminating the three
pointers returning possible block descriptor values for block size, block count and density. Most calls were passing "NULL, NULL, NULL" since they did not care. Call scsi_parse_blkdesc() directly in those few cases where one or more of the values is of interest. No intentional functional change.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions