summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-01-06 21:35:10 +0800
committerJoerg Roedel <jroedel@suse.de>2021-01-27 12:28:59 +0100
commitab0a7119ba67be9e377b195d2b9baa9fb8b3b53e (patch)
treeceb443805b6d2614f1582479ebc2ff842be6bfb9 /drivers/iommu
parentb91910a83d041d87115068c773438575d8279534 (diff)
downloadlinux-stable-ab0a7119ba67be9e377b195d2b9baa9fb8b3b53e.tar.gz
linux-stable-ab0a7119ba67be9e377b195d2b9baa9fb8b3b53e.tar.bz2
linux-stable-ab0a7119ba67be9e377b195d2b9baa9fb8b3b53e.zip
iommu: Delete iommu_domain_window_disable()
Function iommu_domain_window_disable() is not referenced in the tree, so delete it. Signed-off-by: John Garry <john.garry@huawei.com> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/1609940111-28563-6-git-send-email-john.garry@huawei.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 4f4edb087ce6..20201ef97b8f 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -2598,15 +2598,6 @@ int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr,
}
EXPORT_SYMBOL_GPL(iommu_domain_window_enable);
-void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr)
-{
- if (unlikely(domain->ops->domain_window_disable == NULL))
- return;
-
- return domain->ops->domain_window_disable(domain, wnd_nr);
-}
-EXPORT_SYMBOL_GPL(iommu_domain_window_disable);
-
/**
* report_iommu_fault() - report about an IOMMU fault to the IOMMU framework
* @domain: the iommu domain where the fault has happened