diff options
author | 2014-02-15 16:02:17 -0800 | |
---|---|---|
committer | 2014-02-17 00:29:23 -0500 | |
commit | ada0f8633c5b8dad640e1a2bcb95499ec187ac17 (patch) | |
tree | 4320eccba2fcbfd3005ce48fd226b2eafbb0d2f0 /net/tipc/link.c | |
parent | bonding: Convert c99 comments (diff) | |
download | linux-dev-ada0f8633c5b8dad640e1a2bcb95499ec187ac17.tar.xz linux-dev-ada0f8633c5b8dad640e1a2bcb95499ec187ac17.zip |
bonding: Convert memcpy(foo, bar, ETH_ALEN) to ether_addr_copy(foo, bar)
ether_addr_copy is smaller and faster for some architectures.
This relies on a stack frame being at least __aligned(2)
for one use of an Ethernet address on the stack.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
0 files changed, 0 insertions, 0 deletions