]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/iommu/ipmmu-vmsa.c
Merge tag 'rpmsg-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux.git] / drivers / iommu / ipmmu-vmsa.c
index 237103465b824c513722d67beb3135f21fbb00d0..2639fc7181171c4ab1db52bb0765c8f0a8b24bd6 100644 (file)
@@ -1105,10 +1105,8 @@ static int ipmmu_probe(struct platform_device *pdev)
        /* Root devices have mandatory IRQs */
        if (ipmmu_is_root(mmu)) {
                irq = platform_get_irq(pdev, 0);
-               if (irq < 0) {
-                       dev_err(&pdev->dev, "no IRQ found\n");
+               if (irq < 0)
                        return irq;
-               }
 
                ret = devm_request_irq(&pdev->dev, irq, ipmmu_irq, 0,
                                       dev_name(&pdev->dev), mmu);