diff options
author | John Garry <john.garry@huawei.com> | 2020-12-04 02:34:52 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-12-08 14:14:48 +0000 |
commit | 176cfc187c24287a363e7612cd2385ba40c2042b (patch) | |
tree | d5c7e33b049d37d6d957244c08d74ab66fb488b3 /include | |
parent | 51b70b817b187e48155fc492adb9ce80bdb21b70 (diff) | |
download | linux-stable-176cfc187c24287a363e7612cd2385ba40c2042b.tar.gz linux-stable-176cfc187c24287a363e7612cd2385ba40c2042b.tar.bz2 linux-stable-176cfc187c24287a363e7612cd2385ba40c2042b.zip |
iommu: Stop exporting free_iova_mem()
It has no user outside iova.c
Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1607020492-189471-4-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/iova.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/iova.h b/include/linux/iova.h index d8c011b6d4ed..76e16ae20729 100644 --- a/include/linux/iova.h +++ b/include/linux/iova.h @@ -136,7 +136,6 @@ static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) int iova_cache_get(void); void iova_cache_put(void); -void free_iova_mem(struct iova *iova); void free_iova(struct iova_domain *iovad, unsigned long pfn); void __free_iova(struct iova_domain *iovad, struct iova *iova); struct iova *alloc_iova(struct iova_domain *iovad, unsigned long size, @@ -170,10 +169,6 @@ static inline void iova_cache_put(void) { } -static inline void free_iova_mem(struct iova *iova) -{ -} - static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) { } |