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>
This commit is contained in:
Joerg Roedel 2015-10-21 23:51:42 +02:00
parent af65993224
commit 391811e185
1 changed files with 0 additions and 2 deletions

View File

@ -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;