commit | 0f6a670116921eae11b81f1760e2fff1148712de | [log] [tgz] |
---|---|---|
author | Antoine Ténart <antoine.tenart@free-electrons.com> | Fri Oct 03 17:01:55 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 05 21:15:16 2014 -0400 |
tree | ec4215edfef019a8eae82b9aadc91f3bfe6ca607 | |
parent | 3a67c9ccad926a168d8b7891537a452018368a5b [diff] |
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>