diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-05-21 12:40:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-21 23:54:16 +0300 |
commit | b269875f91c30c8d18cf6a6fbce40b12965e120f (patch) | |
tree | ac5ab813678789431aae01709aa71c59afb40602 | |
parent | 31d990cb2628448806a94e64f07b90994a716c56 (diff) | |
download | linux-b269875f91c30c8d18cf6a6fbce40b12965e120f.tar.xz |
net: phy: Fix inconsistent indenting
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>
-rw-r--r-- | drivers/net/phy/phy_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 0a2d8bedf73d..1539ea021ac0 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -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) |