diff options
author | 2021-01-06 21:35:06 +0800 | |
---|---|---|
committer | 2021-01-27 11:51:32 +0100 | |
commit | 9cc0aaeb96e7f894d4735f069174948c1516fea7 (patch) | |
tree | f7d94de1e2542e8c5221fba43072a0010e5e1bab /include/linux/iova.h | |
parent | Linux 5.11-rc5 (diff) | |
download | linux-9cc0aaeb96e7f894d4735f069174948c1516fea7.tar.gz linux-9cc0aaeb96e7f894d4735f069174948c1516fea7.tar.bz2 linux-9cc0aaeb96e7f894d4735f069174948c1516fea7.zip |
iova: Make has_iova_flush_queue() private
Function has_iova_flush_queue() has no users outside iova.c, so make it
private.
Signed-off-by: John Garry <john.garry@huawei.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/1609940111-28563-2-git-send-email-john.garry@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iova.h')
-rw-r--r-- | include/linux/iova.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/iova.h b/include/linux/iova.h index 76e16ae20729..2b76e0be1c5b 100644 --- a/include/linux/iova.h +++ b/include/linux/iova.h @@ -153,7 +153,6 @@ struct iova *reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo, void copy_reserved_iova(struct iova_domain *from, struct iova_domain *to); void init_iova_domain(struct iova_domain *iovad, unsigned long granule, unsigned long start_pfn); -bool has_iova_flush_queue(struct iova_domain *iovad); int init_iova_flush_queue(struct iova_domain *iovad, iova_flush_cb flush_cb, iova_entry_dtor entry_dtor); struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn); @@ -223,11 +222,6 @@ static inline void init_iova_domain(struct iova_domain *iovad, { } -static inline bool has_iova_flush_queue(struct iova_domain *iovad) -{ - return false; -} - static inline int init_iova_flush_queue(struct iova_domain *iovad, iova_flush_cb flush_cb, iova_entry_dtor entry_dtor) |