swiotlb: use wrap_area_index() instead of open-coding it
authorPetr Tesarik <petr.tesarik.ext@huawei.com>
Tue, 21 Mar 2023 08:31:26 +0000 (09:31 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 22 Mar 2023 08:02:35 +0000 (09:02 +0100)
commit39e7d2ab6ea9fd6b389091ec223d566934fe7be5
tree55940df7cd49848b4bfdc966183ff54cb8c52156
parent7c3940bf81e5664cdb50c3fedfec8f0a756a34fb
swiotlb: use wrap_area_index() instead of open-coding it

No functional change, just use an existing helper.

Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/swiotlb.c