batman-adv: prefer ether_addr_copy to memcpy
authorAntonio Quartulli <antonio@meshcoding.com>
Tue, 21 Jan 2014 23:42:11 +0000 (00:42 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Sat, 22 Mar 2014 07:50:26 +0000 (08:50 +0100)
commit8fdd01530cda849ba531e7e9d8674fbc81ab5782
treed2a19df1128530d694d7dce1c04d6f24515beb26
parente88b617d84b53170f0781cc0756019c5b1855890
batman-adv: prefer ether_addr_copy to memcpy

On some architectures ether_addr_copy() is slightly faster
than memcpy() therefore use the former when possible.

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
13 files changed:
net/batman-adv/bat_iv_ogm.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/fragmentation.c
net/batman-adv/gateway_client.c
net/batman-adv/icmp_socket.c
net/batman-adv/main.c
net/batman-adv/network-coding.c
net/batman-adv/originator.c
net/batman-adv/routing.c
net/batman-adv/send.c
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c