Commit b269875f authored by Jiapeng Chong's avatar Jiapeng Chong Committed by David S. Miller

net: phy: Fix inconsistent indenting

Eliminate the follow smatch warning:

drivers/net/phy/phy_device.c:2886 phy_probe() warn: inconsistent
indenting.
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 31d990cb
...@@ -2883,7 +2883,7 @@ static int phy_probe(struct device *dev) ...@@ -2883,7 +2883,7 @@ static int phy_probe(struct device *dev)
/* Disable the interrupt if the PHY doesn't support it /* Disable the interrupt if the PHY doesn't support it
* but the interrupt is still a valid one * but the interrupt is still a valid one
*/ */
if (!phy_drv_supports_irq(phydrv) && phy_interrupt_is_valid(phydev)) if (!phy_drv_supports_irq(phydrv) && phy_interrupt_is_valid(phydev))
phydev->irq = PHY_POLL; phydev->irq = PHY_POLL;
if (phydrv->flags & PHY_IS_INTERNAL) if (phydrv->flags & PHY_IS_INTERNAL)
......
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