net: phy: Fix inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 21 May 2021 09:40:14 +0000 (17:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2021 20:54:16 +0000 (13:54 -0700)
Eliminate the follow smatch warning:

drivers/net/phy/phy_device.c:2886 phy_probe() warn: inconsistent
indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c

index 0a2d8be..1539ea0 100644 (file)
@@ -2883,7 +2883,7 @@ static int phy_probe(struct device *dev)
        /* Disable the interrupt if the PHY doesn't support it
         * 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;
 
        if (phydrv->flags & PHY_IS_INTERNAL)