swiotlb: remove swiotlb_max_segment
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Feb 2023 06:24:19 +0000 (07:24 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 16 Feb 2023 17:10:18 +0000 (18:10 +0100)
commit5e7b9a6ae8c352819a2d998a065910b536de0e8c
tree263b2763fba59c0d34a108a2ab28448e1864164f
parent033c40a89f55525139fd5b6342281b09b97d05bf
swiotlb: remove swiotlb_max_segment

swiotlb_max_segment has always been a bogus API, so remove it now that
the remaining callers are gone.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
include/linux/swiotlb.h
kernel/dma/swiotlb.c