]> git.baikalelectronics.ru Git - kernel.git/commit
caif_usb: Use ether_addr_copy
authorJoe Perches <joe@perches.com>
Mon, 20 Jan 2014 17:52:17 +0000 (09:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 02:13:04 +0000 (18:13 -0800)
commit67da90ef2e85c32a71b05f23cb88dd3c1d436c5d
treea4fda61603aea241a4f358a49c71ab06d5feb690
parentce7511744e54be66e2557270d09454d4c818790f
caif_usb: 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/caif/caif_usb.c