diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-25 01:05:12 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-25 19:00:39 +0200 |
commit | d227ec267ff4fa91ac2db9965d5392cf825be511 (patch) | |
tree | 0b5e59f91953f978987a605732fccf9c6a28441d /include/scsi/libiscsi.h | |
parent | scsi: sd: Improve sd_completed_bytes (diff) | |
download | linux-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