summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2022-07-14 21:23:19 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-19 06:04:11 +0300
commitbc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c (patch)
tree670437e906045932780f280700cfcdc943908064 /scripts/gdb/linux/lists.py
parenteed9f513bf7fe4fc6541f2d3f5c11eda7a7393c6 (diff)
downloadlinux-bc22f9c06c25d3f450ad6ca93952e6a5c4a2fb8c.tar.xz
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions