]> git.dujemihanovic.xyz Git - linux.git/commit
dma-mapping: reflow dma_supported
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Sep 2024 07:21:18 +0000 (09:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 12 Sep 2024 14:28:00 +0000 (16:28 +0200)
commita5fb217f13f74b2af2ab366ffad522bae717f93c
tree87ceb715cd0478b452c5f95db4f3dcd2969c470c
parentf45cfab28fcd5ac67a38750b6c68316b26d35ac8
dma-mapping: reflow dma_supported

dma_supported has become too much spaghetti for my taste.  Reflow it to
remove the duplicate use_dma_iommu condition and make the main path more
obvious.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Leon Romanovsky <leon@kernel.org>
kernel/dma/mapping.c