diff options
author | John Garry <john.garry@huawei.com> | 2021-01-06 21:35:06 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-01-27 11:51:32 +0100 |
commit | 9cc0aaeb96e7f894d4735f069174948c1516fea7 (patch) | |
tree | f7d94de1e2542e8c5221fba43072a0010e5e1bab /drivers/iommu/iova.c | |
parent | 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 (diff) |
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 'drivers/iommu/iova.c')
-rw-r--r-- | drivers/iommu/iova.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index d20b8b333d30..5f2caa95c1f0 100644 --- a/drivers/iommu/iova.c +++ b/drivers/iommu/iova.c @@ -55,7 +55,7 @@ init_iova_domain(struct iova_domain *iovad, unsigned long granule, } EXPORT_SYMBOL_GPL(init_iova_domain); -bool has_iova_flush_queue(struct iova_domain *iovad) +static bool has_iova_flush_queue(struct iova_domain *iovad) { return !!iovad->fq; } |