summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel/iommu.h
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2023-01-31 15:37:31 +0800
committerJoerg Roedel <jroedel@suse.de>2023-02-03 11:06:02 +0100
commit49cab9d2b846bf69ef1164156ea2f4c7dec02f9f (patch)
tree7e3c8fb3c5ecab048062571ccc3fd562df62bfda /drivers/iommu/intel/iommu.h
parent557abbd60c1676cbde5326a17dd517ec48f80bb6 (diff)
downloadlinux-49cab9d2b846bf69ef1164156ea2f4c7dec02f9f.tar.gz
linux-49cab9d2b846bf69ef1164156ea2f4c7dec02f9f.tar.bz2
linux-49cab9d2b846bf69ef1164156ea2f4c7dec02f9f.zip
iommu/vt-d: Remove users from intel_svm_dev
It was used as a reference counter of an existing bond between device and user application memory address. Commit be51b1d6bbff ("iommu/sva: Refactoring iommu_sva_bind/unbind_device()") has added this in iommu core. Remove it to avoid duplicate code. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20230109014955.147068-4-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/intel/iommu.h')
-rw-r--r--drivers/iommu/intel/iommu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/intel/iommu.h b/drivers/iommu/intel/iommu.h
index e7c732979364..2a1619ff0d79 100644
--- a/drivers/iommu/intel/iommu.h
+++ b/drivers/iommu/intel/iommu.h
@@ -762,7 +762,6 @@ struct intel_svm_dev {
struct device *dev;
struct intel_iommu *iommu;
struct iommu_sva sva;
- int users;
u16 did;
u16 sid, qdep;
};