projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecef115
)
iommu/amd: Fix recently introduced compile warnings
author
Joerg Roedel
<jroedel@suse.de>
Fri, 30 May 2014 18:11:20 +0000
(20:11 +0200)
committer
Joerg 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
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd_iommu.c
b/drivers/iommu/amd_iommu.c
index bd8003d975bbc91f559d4d8433667d8e23d5f72c..4aec6a29e316b56b2be4ef2a48bfed8bcd05ea9d 100644
(file)
--- 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();