iommu/amd: Fix recently introduced compile warnings
authorJoerg Roedel <jroedel@suse.de>
Fri, 30 May 2014 18:11:20 +0000 (20:11 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 30 May 2014 18:17:39 +0000 (20:17 +0200)
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>
drivers/iommu/amd_iommu.c

index bd8003d975bbc91f559d4d8433667d8e23d5f72c..4aec6a29e316b56b2be4ef2a48bfed8bcd05ea9d 100644 (file)
@@ -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();
This page took 0.036624 seconds and 5 git commands to generate.