
6 Jun
2017
6 Jun
'17
2:35 p.m.
phy_device_create(..) sets the addr of phy_device with a sane value. There is no need overwrite it.
Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com --- drivers/net/phy/fixed.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c index df82356..e8e9099 100644 --- a/drivers/net/phy/fixed.c +++ b/drivers/net/phy/fixed.c @@ -34,7 +34,6 @@ int fixedphy_probe(struct phy_device *phydev) memset(priv, 0, sizeof(*priv));
phydev->priv = priv; - phydev->addr = 0;
priv->link_speed = val; priv->duplex = fdtdec_get_bool(gd->fdt_blob, ofnode, "full-duplex");
--
2.9.4