mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
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>
This commit is contained in:
parent
31d990cb26
commit
b269875f91
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue