diff options
-rw-r--r-- | drivers/net/ax88796.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 20e946b1e744..b6da4cf3694b 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c | |||
@@ -864,6 +864,7 @@ static int ax_probe(struct platform_device *pdev) | |||
864 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); | 864 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); |
865 | if (res == NULL) { | 865 | if (res == NULL) { |
866 | dev_err(&pdev->dev, "no IRQ specified\n"); | 866 | dev_err(&pdev->dev, "no IRQ specified\n"); |
867 | ret = -ENXIO; | ||
867 | goto exit_mem; | 868 | goto exit_mem; |
868 | } | 869 | } |
869 | 870 | ||