]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/8021q/vlan_dev.c
8021q: Use ether_addr_copy
authorJoe Perches <joe@perches.com>
Mon, 20 Jan 2014 17:52:14 +0000 (09:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 02:13:04 +0000 (18:13 -0800)
commit07fc67befd2e843da8ad01785d559d9c257d7fd4
tree4bc5536df080fdf510273e2c1ec92569d6148f3e
parent70fccb7e34f029755a5371b6b786f8425c2f27a1
8021q: 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/8021q/vlan.c
net/8021q/vlan_dev.c