Skip to content
Commit 286ab723 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

etherdevice: Use ether_addr_copy to copy an Ethernet address



Some systems can use the normally known u16 alignment of
Ethernet addresses to save some code/text bytes and cycles.

This does not change currently emitted code on x86 by gcc 4.8.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a53d34c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment