From: Joerg Roedel Date: Fri, 30 May 2014 18:11:20 +0000 (+0200) Subject: iommu/amd: Fix recently introduced compile warnings X-Git-Tag: next-20140604~34^2^4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3dbc26085383570935e475aa08b67d5cc05be390;p=karo-tx-linux.git iommu/amd: Fix recently introduced compile warnings Fix two compile warnings about unused variables introduced by commit ecef115. Reported-by: Paul Bolle Signed-off-by: Joerg Roedel --- 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();