Commit 074ba1e2 authored by xypron.glpk@gmx.de's avatar xypron.glpk@gmx.de Committed by David S. Miller

net: au1000 eth: simplify logical expression

(a && a > 0) is equivalent to (a > 0).
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30119059
...@@ -1269,7 +1269,7 @@ static int au1000_probe(struct platform_device *pdev) ...@@ -1269,7 +1269,7 @@ static int au1000_probe(struct platform_device *pdev)
aup->phy_irq = pd->phy_irq; aup->phy_irq = pd->phy_irq;
} }
if (aup->phy_busid && aup->phy_busid > 0) { if (aup->phy_busid > 0) {
dev_err(&pdev->dev, "MAC0-associated PHY attached 2nd MACs MII bus not supported yet\n"); dev_err(&pdev->dev, "MAC0-associated PHY attached 2nd MACs MII bus not supported yet\n");
err = -ENODEV; err = -ENODEV;
goto err_mdiobus_alloc; goto err_mdiobus_alloc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment