summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-10-21 23:51:42 +0200
committerJoerg Roedel <jroedel@suse.de>2015-10-22 00:00:49 +0200
commit391811e185408671180745dfd30914bb64f6368e (patch)
tree2fa607f04ce729e2fa52971518a3122404830ae6 /drivers/iommu/iommu.c
parentaf65993224c1cfd40b81080c95c6c68d41fc46c7 (diff)
downloadlinux-391811e185408671180745dfd30914bb64f6368e.tar.bz2
iommu: Remove is_pci_dev() fall-back from iommu_group_get_for_dev
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>
Diffstat (limited to 'drivers/iommu/iommu.c')
-rw-r--r--drivers/iommu/iommu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index a80c9c5c2650..e2b5526506fd 100644
--- 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;