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:
parent
af65993224
commit
391811e185
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue