]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: Use ether_addr_copy
authorJoe Perches <joe@perches.com>
Mon, 20 Jan 2014 17:52:20 +0000 (09:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 02:13:05 +0000 (18:13 -0800)
commite731bfe729dc93491301cc39155007cd98f1a269
tree8e1fd6d5ebb3e1450cb3a842d14f09a5cac7d979
parent094c6a867619d6f2ca15b71fe432c98a520b50d2
dsa: Use ether_addr_copy

Use ether_addr_copy instead of memcpy(a, b, ETH_ALEN) to
save some cycles on arm and powerpc.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c