diff options
-rw-r--r-- | drivers/iommu/iommu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 755e4889046a..9c9336a923cd 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c @@ -750,9 +750,7 @@ static int add_iommu_group(struct device *dev, void *data) WARN_ON(dev->iommu_group); - ops->add_device(dev); - - return 0; + return ops->add_device(dev); } static int iommu_bus_notifier(struct notifier_block *nb, |