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>
This commit is contained in:
Petr Tesarik 2023-03-21 09:31:26 +01:00 • committed by Christoph Hellwig
commit 39e7d2ab6e