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-05 21:15:16 -0400 |
commit | 0f6a670116921eae11b81f1760e2fff1148712de (patch) | |
tree | ec4215edfef019a8eae82b9aadc91f3bfe6ca607 /sound | |
parent | 3a67c9ccad926a168d8b7891537a452018368a5b (diff) | |
download | linux-0f6a670116921eae11b81f1760e2fff1148712de.tar.gz |
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 'sound')
0 files changed, 0 insertions, 0 deletions