Skip to contentSkip to conversation

iommu/vt-d: Remove unused iovad from dmar_domain

PATCH New Lu Baolu 1 participant 1 message May 27, 2022

Subsystems (2)
lore
Share & tools
lore

Lu Baolu

author maintainer
#0 lore raw

PATCH 1/1 iommu/vt-d: Remove unused iovad from dmar_domain

Not used anywhere. Cleanup it to avoid dead code.

---
 drivers/iommu/intel/iommu.h | 1 -
 1 file changed, 1 deletion(-)
drivers/iommu/intel/iommu.h +0 -1
index 0f9df5a19ef7..a22adfbdf870 100644
@@ -543,7 +543,6 @@ struct dmar_domain {
 	u8 set_pte_snp:1;
 
 	struct list_head devices;	/* all devices' list */
-	struct iova_domain iovad;	/* iova's that belong to this domain */
 
 	struct dma_pte	*pgd;		/* virtual address */
 	int		gaw;		/* max guest address width */
Signature · 6 lines
2.25.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu