projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/iommu/iommu.c
b/drivers/iommu/iommu.c
index a80c9c5c26509336506de25da37929d52323c46d..e2b5526506fd4a81423dd3c3fc600fe4c8f432fd 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;