summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-24 19:05:12 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-25 13:00:39 -0400
commitd227ec267ff4fa91ac2db9965d5392cf825be511 (patch)
tree0b5e59f91953f978987a605732fccf9c6a28441d /include/scsi
parent6eadc61224666dcc79763dc21749b5f809d82140 (diff)
downloadlinux-d227ec267ff4fa91ac2db9965d5392cf825be511.tar.gz
linux-d227ec267ff4fa91ac2db9965d5392cf825be511.tar.xz
scsi: sd: Cleanup sd_done sense data handling
Use a switch for the sense key, and remove two pointless variables that are only used once. [mkp: Added UNMAP comment and removed good_bytes based on comment from Damien] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions