diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-07 20:38:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-08 21:00:48 -0500 |
commit | aaeb6cdfa5c07533c2cd6d2c381374c69f7db9dc (patch) | |
tree | f6d51541dbee2d6e1810fd7b5e44d149b1a01750 /drivers/net/wireless/ipw2x00 | |
parent | 948b337e62ca96b6e7de06fdd5f6fe44769d7e9c (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 844f201b7b70..3e824b8fa83d 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -11327,7 +11327,6 @@ static int ipw_up(struct ipw_priv *priv) | |||
11327 | if (!(priv->config & CFG_CUSTOM_MAC)) | 11327 | if (!(priv->config & CFG_CUSTOM_MAC)) |
11328 | eeprom_parse_mac(priv, priv->mac_addr); | 11328 | eeprom_parse_mac(priv, priv->mac_addr); |
11329 | memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); | 11329 | memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); |
11330 | memcpy(priv->net_dev->perm_addr, priv->mac_addr, ETH_ALEN); | ||
11331 | 11330 | ||
11332 | ipw_set_geo(priv); | 11331 | ipw_set_geo(priv); |
11333 | 11332 | ||