scsi: cxlflash: Remove unnecessary DMA mapping
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 12 Apr 2017 19:15:02 +0000 (14:15 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 14 Apr 2017 02:55:41 +0000 (22:55 -0400)
commit50b787f7235efbd074bbdf4315e0cc261d85b4d7
treec2df9481419a8efbc021a1e61352e3e9b893f1df
parent323e33428ea23bfb1ae5010b18b4540048b2ad51
scsi: cxlflash: Remove unnecessary DMA mapping

Devices supported by the cxlflash driver are fully coherent and do not require
a bus address mapping. Avoid unnecessary path length by using the virtual
address and length already present in the scatter-gather entry.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c