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>
This commit is contained in:
@@ -2598,15 +2598,6 @@ int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr,
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(iommu_domain_window_enable);
|
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
|
* report_iommu_fault() - report about an IOMMU fault to the IOMMU framework
|
||||||
* @domain: the iommu domain where the fault has happened
|
* @domain: the iommu domain where the fault has happened
|
||||||
|
|||||||
@@ -514,7 +514,6 @@ extern int iommu_domain_set_attr(struct iommu_domain *domain, enum iommu_attr,
|
|||||||
extern int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr,
|
extern int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr,
|
||||||
phys_addr_t offset, u64 size,
|
phys_addr_t offset, u64 size,
|
||||||
int prot);
|
int prot);
|
||||||
extern void iommu_domain_window_disable(struct iommu_domain *domain, u32 wnd_nr);
|
|
||||||
|
|
||||||
extern int report_iommu_fault(struct iommu_domain *domain, struct device *dev,
|
extern int report_iommu_fault(struct iommu_domain *domain, struct device *dev,
|
||||||
unsigned long iova, int flags);
|
unsigned long iova, int flags);
|
||||||
@@ -746,11 +745,6 @@ static inline int iommu_domain_window_enable(struct iommu_domain *domain,
|
|||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void iommu_domain_window_disable(struct iommu_domain *domain,
|
|
||||||
u32 wnd_nr)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova)
|
static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user