diff options
author | Adrian Huang <ahuang12@lenovo.com> | 2020-01-09 04:02:51 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-01-17 11:05:56 +0100 |
commit | 96466748780dc41d2fa951f3c4e010f98832e182 (patch) | |
tree | 388f539058c7d2ff0f545385def11b79e19320a1 /drivers/iommu | |
parent | iommu/amd: Replace two consecutive readl calls with one readq (diff) | |
download | linux-96466748780dc41d2fa951f3c4e010f98832e182.tar.xz linux-96466748780dc41d2fa951f3c4e010f98832e182.zip |
iommu/amd: Remove unused struct member
Commit c805b428f206 ("iommu/amd: Remove amd_iommu_pd_list") removes
the global list for the allocated protection domains. The
corresponding member 'list' of the protection_domain struct is
not used anymore, so it can be removed.
Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index 500f0b78879d..f8d01d6b00da 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -463,7 +463,6 @@ struct amd_irte_ops; * independent of their use. */ struct protection_domain { - struct list_head list; /* for list of all protection domains */ struct list_head dev_list; /* List of all devices in this domain */ struct iommu_domain domain; /* generic domain handle used by iommu core code */ |