Skip to content
Commit f5d3939a authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: drop two CONFIG_DMA_RESTRICTED_POOL conditionals



swiotlb_alloc and swiotlb_free are properly stubbed out if
CONFIG_DMA_RESTRICTED_POOL is not set, so skip the extra checks.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent 78bc7278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment