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

swiotlb: use swiotlb_map_page in swiotlb_map_sg_attrs



No need to duplicate the code - map_sg is equivalent to map_page
for each page in the scatterlist.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 27744e00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment