RDMA/rw: drop pci_p2pdma_[un]map_sg()
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 8 Jul 2022 16:51:03 +0000 (10:51 -0600)
committerChristoph Hellwig <hch@lst.de>
Tue, 26 Jul 2022 11:28:07 +0000 (07:28 -0400)
commit1e97af7f2f0ed487e5abbb6b755d1df156cf3d7e
tree950c94d4379ab497cad5b34e53d84e3f09a4569a
parent495758bb1a72316094ee854dc51f667ad3db29b5
RDMA/rw: drop pci_p2pdma_[un]map_sg()

dma_map_sg() now supports the use of P2PDMA pages so pci_p2pdma_map_sg()
is no longer necessary and may be dropped. This means the
rdma_rw_[un]map_sg() helpers are no longer necessary. Remove it all.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/infiniband/core/rw.c