]> git.hungrycats.org Git - linux/commitdiff
iommu/vt-d: Remove unused variable
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 24 Mar 2015 01:50:21 +0000 (19:50 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Apr 2017 03:49:15 +0000 (05:49 +0200)
commit 509fca899d5682a6eee3d1fb70bba7c89439034b upstream.

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

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/intel-iommu.c

index 410541edbb18d08ee894b0520f441a4a14d8f514..cc5b885f52da8c643572ee685d28889d6144cb55 100644 (file)
@@ -1759,7 +1759,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;