aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/fixed_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/fixed_phy.c')
-rw-r--r--drivers/net/phy/fixed_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/fixed_phy.c b/drivers/net/phy/fixed_phy.c
index 3ad0e6e16c39..a08a3c78ba97 100644
--- a/drivers/net/phy/fixed_phy.c
+++ b/drivers/net/phy/fixed_phy.c
@@ -168,7 +168,7 @@ int fixed_phy_set_link_update(struct phy_device *phydev,
168 struct fixed_mdio_bus *fmb = &platform_fmb; 168 struct fixed_mdio_bus *fmb = &platform_fmb;
169 struct fixed_phy *fp; 169 struct fixed_phy *fp;
170 170
171 if (!link_update || !phydev || !phydev->bus) 171 if (!phydev || !phydev->bus)
172 return -EINVAL; 172 return -EINVAL;
173 173
174 list_for_each_entry(fp, &fmb->phys, node) { 174 list_for_each_entry(fp, &fmb->phys, node) {