Messages in this thread Patch in this message | | | From | YueHaibing <> | Subject | [PATCH -next] iommu/vt-d: Remove unused function intel_svm_capable() | Date | Wed, 16 Feb 2022 19:38:51 +0800 |
| |
This is unused since commit 404837741416 ("iommu/vt-d: Use iommu_sva_alloc(free)_pasid() helpers")
Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/iommu/intel/svm.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/drivers/iommu/intel/svm.c b/drivers/iommu/intel/svm.c index 5b5d69b04fcc..2c53689da461 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)) -- 2.17.1
| |