summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-05-30 22:11:20 +0400
committerJoerg Roedel <jroedel@suse.de>2014-05-30 22:17:39 +0400
commit3dbc26085383570935e475aa08b67d5cc05be390 (patch)
tree0ca8ce83a439e3dfbf2bcf596a92773a28bc3c44 /drivers/iommu
parentecef115d4540e3ef73551a21fb0622270a825110 (diff)
downloadlinux-3dbc26085383570935e475aa08b67d5cc05be390.tar.xz
iommu/amd: Fix recently introduced compile warnings
Fix two compile warnings about unused variables introduced by commit ecef115. Reported-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index bd8003d975bb..4aec6a29e316 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -3499,8 +3499,6 @@ int __init amd_iommu_init_passthrough(void)
{
struct iommu_dev_data *dev_data;
struct pci_dev *dev = NULL;
- struct amd_iommu *iommu;
- u16 devid;
int ret;
ret = alloc_passthrough_domain();