sh_eth: propagate platform_get_irq() error upstream
[deliverable/linux.git] / drivers / net / ethernet / renesas / sh_eth.c
index 7fb244f565b283b0c130caa7476a8e4339564283..257ea713b4c1564fa680acfcf7ad760268ea0df6 100644 (file)
@@ -3089,10 +3089,8 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
 
        ndev->dma = -1;
        ret = platform_get_irq(pdev, 0);
-       if (ret < 0) {
-               ret = -ENODEV;
+       if (ret < 0)
                goto out_release;
-       }
        ndev->irq = ret;
 
        SET_NETDEV_DEV(ndev, &pdev->dev);
This page took 0.0236420000000001 seconds and 5 git commands to generate.