]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2ec96386f81a2cb89e28c7b2c84cc48e50b51e0
treef87e157aa8c9cf78256f69c4883fe9a404324d95
parent243455dfa7b79b07f23a1ef46f96fac93cde6f77
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