diff options
author | Jonathan Bither <jonbither@gmail.com> | 2012-04-12 15:44:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-16 14:16:59 -0400 |
commit | 94c84ee61478ff19411fb684d42e3c4f84ae7e88 (patch) | |
tree | 62db3806ec196154112c1b46c7ea583d8da4b3ea /drivers/net/wireless/b43legacy | |
parent | 462e58f2b6f2f3ca113b44794f2c35ee8e792b93 (diff) |
ath5k: use compare_ether_addr on MAC addresses instead of memcmp
Following Felix's recent patchset as an example I have replaced memcmp with
compare_ether_addr.
"Because of the constant size and guaranteed 16 bit alignment, the inline
compare_ether_addr function is much cheaper than calling memcmp."
Signed-off-by: Jonathan Bither <jonbither@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
0 files changed, 0 insertions, 0 deletions