Skip to contentSkip to conversation

iommu/vt-d: Remove unused variable

PATCH Applied Alex Williamson 2 participants 2 messages Mar 24, 2015 IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/vt-d: Remove unused variable

Unused after commit 71684406905f ("iommu/vt-d: Detach domain *only* from attached iommus"). Reported by 0-day builder.

---
 drivers/iommu/intel-iommu.c |    1 -
 1 file changed, 1 deletion(-)
drivers/iommu/intel-iommu.c +0 -1
index 6228582..0e5ca10 100644
@@ -1743,7 +1743,6 @@ static int domain_init(struct dmar_domain *domain, int guest_width)
 
 static void domain_exit(struct dmar_domain *domain)
 {
-	struct dmar_drhd_unit *drhd;
 	struct page *freelist = NULL;
 	int i;
 
maintainer Applied
#1 lore raw
Quoted 7 lines · Alex Williamson

Unused after commit 71684406905f ("iommu/vt-d: Detach domain *only* from attached iommus"). Reported by 0-day builder.

---
 drivers/iommu/intel-iommu.c |    1 -
 1 file changed, 1 deletion(-)

Applied, thanks.