diff options
| author | Hannes Reinecke <[email protected]> | 2015-12-01 10:16:46 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2015-12-02 16:33:21 -0500 |
| commit | d3692a3d13e8ee2e371907d67d585d42297b4d66 (patch) | |
| tree | bafc100fd1bf84d637917e523b874ec39108611b /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6cc05d451cfa876014ef607516f730623e317987 (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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Bart van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions