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/wimax/i2400m | |
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/wimax/i2400m')
-rw-r--r-- | drivers/net/wimax/i2400m/fw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/fw.c b/drivers/net/wimax/i2400m/fw.c index def12b38cbf7..c9c711dcd0e6 100644 --- a/drivers/net/wimax/i2400m/fw.c +++ b/drivers/net/wimax/i2400m/fw.c | |||
@@ -1055,7 +1055,6 @@ int i2400m_read_mac_addr(struct i2400m *i2400m) | |||
1055 | result = 0; | 1055 | result = 0; |
1056 | } | 1056 | } |
1057 | net_dev->addr_len = ETH_ALEN; | 1057 | net_dev->addr_len = ETH_ALEN; |
1058 | memcpy(net_dev->perm_addr, ack_buf.ack_pl, ETH_ALEN); | ||
1059 | memcpy(net_dev->dev_addr, ack_buf.ack_pl, ETH_ALEN); | 1058 | memcpy(net_dev->dev_addr, ack_buf.ack_pl, ETH_ALEN); |
1060 | error_read_mac: | 1059 | error_read_mac: |
1061 | d_fnend(5, dev, "(i2400m %p) = %d\n", i2400m, result); | 1060 | d_fnend(5, dev, "(i2400m %p) = %d\n", i2400m, result); |