Browse Source

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>
Joerg Roedel 11 years ago
parent
commit
3dbc260853
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/iommu/amd_iommu.c

+ 0 - 2
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();