summaryrefslogtreecommitdiff
path: root/drivers/iommu/intel
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-03-01 05:01:58 +0300
committerJoerg Roedel <jroedel@suse.de>2022-03-04 18:46:31 +0300
commitb897a1b7ad3f239fa19ee40aec429e96f5162669 (patch)
tree52ca11b34711aeccfe8d7d9111a530fd48dd87ca /drivers/iommu/intel
parent45967ffb9e50aa3472cc6c69a769ef0f09cced5d (diff)
downloadlinux-b897a1b7ad3f239fa19ee40aec429e96f5162669.tar.xz
iommu/vt-d: Remove unused function intel_svm_capable()
This is unused since commit 4048377414162 ("iommu/vt-d: Use iommu_sva_alloc(free)_pasid() helpers"). Signed-off-by: YueHaibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20220216113851.25004-1-yuehaibing@huawei.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20220301020159.633356-12-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel')
-rw-r--r--drivers/iommu/intel/svm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/iommu/intel/svm.c b/drivers/iommu/intel/svm.c
index 944e2408b6d2..241d095b6dcf 100644
--- a/drivers/iommu/intel/svm.c
+++ b/drivers/iommu/intel/svm.c
@@ -168,11 +168,6 @@ int intel_svm_finish_prq(struct intel_iommu *iommu)
return 0;
}
-static inline bool intel_svm_capable(struct intel_iommu *iommu)
-{
- return iommu->flags & VTD_FLAG_SVM_CAPABLE;
-}
-
void intel_svm_check(struct intel_iommu *iommu)
{
if (!pasid_supported(iommu))