diff options
author | 2022-07-15 02:23:19 +0800 | |
---|---|---|
committer | 2022-07-18 23:04:11 -0400 | |
commit | bc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c (patch) | |
tree | 670437e906045932780f280700cfcdc943908064 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: hisi_sas: Call hisi_sas_slave_configure() from slave_configure_v3_hw() (diff) | |
download | linux-dev-bc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c.tar.xz linux-dev-bc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c.zip |
scsi: hisi_sas: Remove unnecessary variable to hold DMA map elements
Use slot->n_elem to store the return value of dma_map_sg() for SSP and SMP
IOs, and remove unnecessary variable n_elem_req.
Link: https://lore.kernel.org/r/1657823002-139010-3-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
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