OSDN Git Service

iommu/amd: Remove unused struct member
authorAdrian Huang <ahuang12@lenovo.com>
Thu, 9 Jan 2020 03:02:51 +0000 (11:02 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 17 Jan 2020 10:05:56 +0000 (11:05 +0100)
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>
drivers/iommu/amd_iommu_types.h

index 500f0b7..f8d01d6 100644 (file)
@@ -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 */