net: plip: slight optimization of addr compare
authordingtianhong <dingtianhong@huawei.com>
Mon, 30 Dec 2013 07:41:33 +0000 (15:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 21:48:33 +0000 (16:48 -0500)
commit2d87650a3bf1b80f7d0d150ee1af3f8a89e5b7aa
tree8686c3643858ecbd18090614623169397dcc2992
parent7c3c299d22f15620af0db153dfe71c9bb563f331
net: plip: slight optimization of addr compare

Use possibly more efficient ether_addr_equal_64bits
to instead of memcmp.

Cc: "David S. Miller" <davem@davemloft.net>
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/plip/plip.c