PCI/P2PDMA: Cleanup __pci_p2pdma_map_sg a bit
authorChristoph Hellwig <hch@lst.de>
Fri, 6 Nov 2020 18:19:40 +0000 (19:19 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 17 Nov 2020 19:22:07 +0000 (15:22 -0400)
commit73063ec58c848e0eb9f888847df011a85b34e5a2
tree7726ad20647c64e1ca958ff3295f8beb9ccb1446
parent4d34d52c25a042e8fdfcaed9715774759394e32e
PCI/P2PDMA: Cleanup __pci_p2pdma_map_sg a bit

Remove the pointless paddr variable that was only used once.

Link: https://lore.kernel.org/r/20201106181941.1878556-10-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/pci/p2pdma.c