Commit 391811e1 authored by Joerg Roedel's avatar Joerg Roedel

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: default avatarJoerg Roedel <jroedel@suse.de>
parent af659932
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment