diff options
author | Antoine Ténart <antoine.tenart@free-electrons.com> | 2014-10-03 17:01:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 03:15:16 +0200 |
commit | 0f6a670116921eae11b81f1760e2fff1148712de (patch) | |
tree | ec4215edfef019a8eae82b9aadc91f3bfe6ca607 /drivers/net/ethernet/adi | |
parent | hyperv: Fix a bug in netvsc_send() (diff) | |
download | linux-0f6a670116921eae11b81f1760e2fff1148712de.tar.xz linux-0f6a670116921eae11b81f1760e2fff1148712de.zip |
net: spider_net: do not read mac address again after setting it
This patch removes the spider_net_get_mac_address() call at the end of
the spider_net_set_mac() function. The dev->dev_addr is instead updated
with a memcpy() from sa->sa_data.
Since spider_net_get_mac_address() is not used anywhere else, this patch
also removes the function.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/adi')
0 files changed, 0 insertions, 0 deletions