summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-12-01 10:16:46 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-12-02 16:33:21 -0500
commitd3692a3d13e8ee2e371907d67d585d42297b4d66 (patch)
treebafc100fd1bf84d637917e523b874ec39108611b /samples
parent6cc05d451cfa876014ef607516f730623e317987 (diff)
scsi_dh_alua: sanitze sense code handling
The only check for a valid sense code is calling scsi_normalize_sense() and check the return value. So drop the pointless checks and rely on scsi_normalize_sense() to figure out if the sense code is valid. With that we can also remove the 'senselen' field. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com> Reviewed-by: Bart van Assche <bvanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions