remove init of dev->perm_addr in drivers
perm_addr is initialized correctly in register_netdevice() so to init it in drivers is no longer needed. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
948b337e62
commit
aaeb6cdfa5
@@ -11327,7 +11327,6 @@ static int ipw_up(struct ipw_priv *priv)
|
||||
if (!(priv->config & CFG_CUSTOM_MAC))
|
||||
eeprom_parse_mac(priv, priv->mac_addr);
|
||||
memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN);
|
||||
memcpy(priv->net_dev->perm_addr, priv->mac_addr, ETH_ALEN);
|
||||
|
||||
ipw_set_geo(priv);
|
||||
|
||||
|
Reference in New Issue
Block a user