Skip to content

Commit bdbe05b

Browse files
Tang Bindavem330
authored andcommitted
net: systemport: Omit superfluous error message in bcm_sysport_probe()
In the function bcm_sysport_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here. Signed-off-by: Tang Bin <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 27de77c commit bdbe05b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/broadcom/bcmsysport.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,6 @@ static int bcm_sysport_probe(struct platform_device *pdev)
24752475
priv->wol_irq = platform_get_irq(pdev, 1);
24762476
}
24772477
if (priv->irq0 <= 0 || (priv->irq1 <= 0 && !priv->is_lite)) {
2478-
dev_err(&pdev->dev, "invalid interrupts\n");
24792478
ret = -EINVAL;
24802479
goto err_free_netdev;
24812480
}

0 commit comments

Comments
 (0)