All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] iommu/vt-d: Remove unused function intel_svm_capable()
@ 2022-02-16 11:38 ` YueHaibing via iommu
  0 siblings, 0 replies; 2+ messages in thread
From: YueHaibing @ 2022-02-16 11:38 UTC (permalink / raw)
  To: dwmw2, baolu.lu, joro, will; +Cc: iommu, linux-kernel, YueHaibing

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH -next] iommu/vt-d: Remove unused function intel_svm_capable()
@ 2022-02-16 11:38 ` YueHaibing via iommu
  0 siblings, 0 replies; 2+ messages in thread
From: YueHaibing via iommu @ 2022-02-16 11:38 UTC (permalink / raw)
  To: dwmw2, baolu.lu, joro, will; +Cc: iommu, YueHaibing, linux-kernel

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

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-16 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 11:38 [PATCH -next] iommu/vt-d: Remove unused function intel_svm_capable() YueHaibing
2022-02-16 11:38 ` YueHaibing via iommu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.