diff options
author | Joe Perches <joe@perches.com> | 2014-02-15 16:02:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 00:29:23 -0500 |
commit | ada0f8633c5b8dad640e1a2bcb95499ec187ac17 (patch) | |
tree | 4320eccba2fcbfd3005ce48fd226b2eafbb0d2f0 /firmware | |
parent | 2ea24f2ecfdca1039cf9a9dab92ac1769224fe92 (diff) |
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 'firmware')
0 files changed, 0 insertions, 0 deletions