Skip to content

Commit b897a1b

Browse files
YueHaibingjoergroedel
authored andcommitted
iommu/vt-d: Remove unused function intel_svm_capable()
This is unused since commit 4048377 ("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>
1 parent 45967ff commit b897a1b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/iommu/intel/svm.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ int intel_svm_finish_prq(struct intel_iommu *iommu)
168168
return 0;
169169
}
170170

171-
static inline bool intel_svm_capable(struct intel_iommu *iommu)
172-
{
173-
return iommu->flags & VTD_FLAG_SVM_CAPABLE;
174-
}
175-
176171
void intel_svm_check(struct intel_iommu *iommu)
177172
{
178173
if (!pasid_supported(iommu))

0 commit comments

Comments
 (0)