]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu: Remove unused declaration iommu_sva_unbind_gpasid()
authorYue Haibing <yuehaibing@huawei.com>
Thu, 8 Aug 2024 14:06:19 +0000 (22:06 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 13 Aug 2024 08:53:45 +0000 (10:53 +0200)
Commit 0c9f17877891 ("iommu: Remove guest pasid related interfaces and definitions")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240808140619.2498535-1-yuehaibing@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h

index 4d47f2c33311850173a1871c0c821fa15c7f01bb..04cbdae0052eb23cf6c080d2a01b3fd028f15e48 100644 (file)
@@ -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,