diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-10-21 23:51:42 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-10-22 00:00:49 +0200 |
commit | 391811e185408671180745dfd30914bb64f6368e (patch) | |
tree | 2fa607f04ce729e2fa52971518a3122404830ae6 /drivers/iommu/iommu.c | |
parent | af65993224c1cfd40b81080c95c6c68d41fc46c7 (diff) | |
download | linux-stable-391811e185408671180745dfd30914bb64f6368e.tar.gz linux-stable-391811e185408671180745dfd30914bb64f6368e.tar.bz2 linux-stable-391811e185408671180745dfd30914bb64f6368e.zip |
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.c | 2 |
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; |