summaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-25 01:05:12 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-25 19:00:39 +0200
commitd227ec267ff4fa91ac2db9965d5392cf825be511 (patch)
tree0b5e59f91953f978987a605732fccf9c6a28441d /include/scsi/libiscsi.h
parentscsi: sd: Improve sd_completed_bytes (diff)
downloadlinux-d227ec267ff4fa91ac2db9965d5392cf825be511.tar.xz
linux-d227ec267ff4fa91ac2db9965d5392cf825be511.zip
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/libiscsi.h')
0 files changed, 0 insertions, 0 deletions