mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
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>
This commit is contained in:
@@ -121,7 +121,6 @@ static inline bool is_swiotlb_force_bounce(struct device *dev)
|
||||
|
||||
void swiotlb_init(bool addressing_limited, unsigned int flags);
|
||||
void __init swiotlb_exit(void);
|
||||
unsigned int swiotlb_max_segment(void);
|
||||
size_t swiotlb_max_mapping_size(struct device *dev);
|
||||
bool is_swiotlb_active(struct device *dev);
|
||||
void __init swiotlb_adjust_size(unsigned long size);
|
||||
@@ -140,10 +139,6 @@ static inline bool is_swiotlb_force_bounce(struct device *dev)
|
||||
static inline void swiotlb_exit(void)
|
||||
{
|
||||
}
|
||||
static inline unsigned int swiotlb_max_segment(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static inline size_t swiotlb_max_mapping_size(struct device *dev)
|
||||
{
|
||||
return SIZE_MAX;
|
||||
|
||||
Reference in New Issue
Block a user