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 | |
parent | af65993224c1cfd40b81080c95c6c68d41fc46c7 (diff) | |
download | blackbird-op-linux-391811e185408671180745dfd30914bb64f6368e.tar.gz blackbird-op-linux-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')
-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; |