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
c07d810ef6
commit
19a9ffb89e
1 changed files with 0 additions and 2 deletions
|
@ -848,8 +848,6 @@ struct iommu_group *iommu_group_get_for_dev(struct device *dev)
|
||||||
|
|
||||||
if (ops && ops->device_group)
|
if (ops && ops->device_group)
|
||||||
group = ops->device_group(dev);
|
group = ops->device_group(dev);
|
||||||
else if (dev_is_pci(dev))
|
|
||||||
group = pci_device_group(dev);
|
|
||||||
|
|
||||||
if (IS_ERR(group))
|
if (IS_ERR(group))
|
||||||
return group;
|
return group;
|
||||||
|
|
Loading…
Add table
Reference in a new issue