dma-direct: remove dma_direct_{alloc,free}_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 15:06:40 +0000 (17:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:10:29 +0000 (09:10 +0200)
commit2f5388a29be82a62529d146499e70987e856f6f7
tree244fc04e7926e48cf0faae79dbe3250ec3f00ef3
parentabdaf11ac18925ce8cc229e62e35b342d548ece2
dma-direct: remove dma_direct_{alloc,free}_pages

Just merge these helpers into the main dma_direct_{alloc,free} routines,
as the additional checks are always false for the two callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/x86/kernel/amd_gart_64.c
include/linux/dma-direct.h
kernel/dma/direct.c
kernel/dma/pool.c