Skip to content

Commit 9646674

Browse files
Adrian Huangjoergroedel
authored andcommitted
iommu/amd: Remove unused struct member
Commit c805b42 ("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 <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent 62dcee7 commit 9646674

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/iommu/amd_iommu_types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ struct amd_irte_ops;
463463
* independent of their use.
464464
*/
465465
struct protection_domain {
466-
struct list_head list; /* for list of all protection domains */
467466
struct list_head dev_list; /* List of all devices in this domain */
468467
struct iommu_domain domain; /* generic domain handle used by
469468
iommu core code */

0 commit comments

Comments
 (0)