commit | 8fd90de800a838320406c29587d40fb8167ec48e | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Mon Dec 30 15:40:32 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 31 16:48:30 2013 -0500 |
tree | 053b57bba06fdf5ed3394dc1009e3967e0450125 | |
parent | c466a9b2b329f7d9982c14eedc83a923d3bc711c [diff] |
net: bnx2x: slight optimization of addr compare Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior <ariele@broadcom.com> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>