dma-mapping: merge dma_unmap_page_attrs and dma_unmap_single_attrs
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 20:24:27 +0000 (12:24 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 20:06:08 +0000 (21:06 +0100)
commit7f0fee242e899f2eb42fd9e72bcfc3cb59aad1ce
treef87e157aa8c9cf78256f69c4883fe9a404324d95
parent8d59b5f2a44611d7327a2a14b36090d692186f60
dma-mapping: merge dma_unmap_page_attrs and dma_unmap_single_attrs

The two functions are exactly the same, so don't bother implementing
them twice.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
include/linux/dma-mapping.h