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

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

Convert struct aarp_entry.hwaddr[6] to hwaddr[ETH_ALEN].

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