aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue Haibing <[email protected]>2024-08-08 22:06:19 +0800
committerJoerg Roedel <[email protected]>2024-08-13 10:53:45 +0200
commit92567a5f92bc947fb7aa4351979db1b7b71a554c (patch)
tree4691b2f2a45db0d0d7b27b1ad0fee49589c6553b
parentfca5b78511e98bdff2cdd55c172b23200a7b3404 (diff)
iommu: Remove unused declaration iommu_sva_unbind_gpasid()
Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
-rw-r--r--include/linux/iommu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 4d47f2c33311..04cbdae0052e 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -795,8 +795,6 @@ extern int iommu_attach_device(struct iommu_domain *domain,
struct device *dev);
extern void iommu_detach_device(struct iommu_domain *domain,
struct device *dev);
-extern int iommu_sva_unbind_gpasid(struct iommu_domain *domain,
- struct device *dev, ioasid_t pasid);
extern struct iommu_domain *iommu_get_domain_for_dev(struct device *dev);
extern struct iommu_domain *iommu_get_dma_domain(struct device *dev);
extern int iommu_map(struct iommu_domain *domain, unsigned long iova,