commit | d227ec267ff4fa91ac2db9965d5392cf825be511 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Apr 24 19:05:12 2017 -0400 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Apr 25 13:00:39 2017 -0400 |
tree | 0b5e59f91953f978987a605732fccf9c6a28441d | |
parent | 6eadc61224666dcc79763dc21749b5f809d82140 [diff] |
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>