summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/mcf8390.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/8390/mcf8390.c')
-rw-r--r--drivers/net/ethernet/8390/mcf8390.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/8390/mcf8390.c b/drivers/net/ethernet/8390/mcf8390.c
index 90cd7bdf06f5..21047ae1bc3d 100644
--- a/drivers/net/ethernet/8390/mcf8390.c
+++ b/drivers/net/ethernet/8390/mcf8390.c
@@ -410,10 +410,8 @@ static int mcf8390_probe(struct platform_device *pdev)
int ret, irq;
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "no IRQ specified?\n");
+ if (irq < 0)
return -ENXIO;
- }
mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (mem == NULL) {