aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/hosts.c
diff options
context:
space:
mode:
authorXiang Chen2022-07-15 02:23:19 +0800
committerMartin K. Petersen2022-07-18 23:04:11 -0400
commitbc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c (patch)
tree670437e906045932780f280700cfcdc943908064 /drivers/scsi/hosts.c
parenteed9f513bf7fe4fc6541f2d3f5c11eda7a7393c6 (diff)
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 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions