Skip to content

Commit

Permalink
iommu/amd: Fix recently introduced compile warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joerg Roedel committed May 30, 2014
1 parent ecef115 commit 3dbc260
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/iommu/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3dbc260

Please sign in to comment.