]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.18.51/iommu-vt-d-remove-unused-variable.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.18.51 / iommu-vt-d-remove-unused-variable.patch
1 From 509fca899d5682a6eee3d1fb70bba7c89439034b Mon Sep 17 00:00:00 2001
2 From: Alex Williamson <alex.williamson@redhat.com>
3 Date: Mon, 23 Mar 2015 19:50:21 -0600
4 Subject: iommu/vt-d: Remove unused variable
5
6 From: Alex Williamson <alex.williamson@redhat.com>
7
8 commit 509fca899d5682a6eee3d1fb70bba7c89439034b upstream.
9
10 Unused after commit 71684406905f ("iommu/vt-d: Detach domain *only*
11 from attached iommus"). Reported by 0-day builder.
12
13 Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
14 Signed-off-by: Joerg Roedel <jroedel@suse.de>
15 Cc: Arnd Bergmann <arnd@arndb.de>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17
18 ---
19 drivers/iommu/intel-iommu.c | 1 -
20 1 file changed, 1 deletion(-)
21
22 --- a/drivers/iommu/intel-iommu.c
23 +++ b/drivers/iommu/intel-iommu.c
24 @@ -1759,7 +1759,6 @@ static int domain_init(struct dmar_domai
25
26 static void domain_exit(struct dmar_domain *domain)
27 {
28 - struct dmar_drhd_unit *drhd;
29 struct page *freelist = NULL;
30 int i;
31