projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af65993
)
iommu: Remove is_pci_dev() fall-back from iommu_group_get_for_dev
author
Joerg Roedel
<jroedel@suse.de>
Wed, 21 Oct 2015 21:51:42 +0000
(23:51 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 21 Oct 2015 22:00:49 +0000
(
00:00
+0200)
All callers of iommu_group_get_for_dev() provide a
device_group call-back now, so this fall-back is no longer
needed.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/iommu.c
b/drivers/iommu/iommu.c
index
a80c9c5
..
e2b5526
100644
(file)
--- a/
drivers/iommu/iommu.c
+++ b/
drivers/iommu/iommu.c
@@
-845,8
+845,6
@@
struct iommu_group *iommu_group_get_for_dev(struct device *dev)
if (ops && ops->device_group)
group = ops->device_group(dev);
- else if (dev_is_pci(dev))
- group = pci_device_group(dev);
if (IS_ERR(group))
return group;