commit | 416c461372b3fe635e5f9a8fbf32f629d3b22c13 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 11 09:16:13 2018 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Oct 15 22:41:00 2018 -0400 |
tree | c65c58c3b1c8a62b679042edd05f83be8cbf2e5c | |
parent | 67d98f0a83f8d5eafe8f584fef70b1d790a36411 [diff] |
scsi: lpfc: remove a bogus pci_dma_sync_single_for_device call dma_alloc_coherent allocates memory that can be used by the cpu and the device at the same time, calls to pci_dma_sync_* are not required, and in fact actively harmful on some architectures like arm. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>