diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-04-24 02:01:00 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-24 18:16:49 -0400 |
commit | 4bd13a077172a1a509115993ebe2082f327f1609 (patch) | |
tree | eb34c0f6e13c32cc24e9774f1bcf67521ff99703 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6b8accea1b03da5f03e6dcd589f7024c4f4ee445 (diff) |
scsi: mvumi: remove code handling zero scsi_sg_count(scmd) case
As Christoph Hellwig noted, SCSI commands that transfer data always have
a SG entry. The patch removes dead code in mvumi_make_sgl(),
mvumi_complete_cmd() and mvumi_timed_out() that handle zero
scsi_sg_count(scmd) case.
Also the patch adds pci_unmap_sg() on failure path in mvumi_make_sgl().
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions