Commit 96466748 authored by Adrian Huang's avatar Adrian Huang Committed by Joerg Roedel

iommu/amd: Remove unused struct member

Commit c805b428 ("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: default avatarAdrian Huang <ahuang12@lenovo.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 62dcee71
...@@ -463,7 +463,6 @@ struct amd_irte_ops; ...@@ -463,7 +463,6 @@ struct amd_irte_ops;
* independent of their use. * independent of their use.
*/ */
struct protection_domain { 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 list_head dev_list; /* List of all devices in this domain */
struct iommu_domain domain; /* generic domain handle used by struct iommu_domain domain; /* generic domain handle used by
iommu core code */ iommu core code */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment