diff options
author | Joe Perches <joe@perches.com> | 2013-12-05 23:54:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 22:37:43 +0100 |
commit | 0d74c42f788caf3cad727c61c490d9459bc8918b (patch) | |
tree | 6eaff61e95e9efd14e85d2c8bb159ec5ff3b2898 /drivers/dma/mv_xor.h | |
parent | unix: convert printks to pr_<level> (diff) | |
download | linux-0d74c42f788caf3cad727c61c490d9459bc8918b.tar.xz linux-0d74c42f788caf3cad727c61c490d9459bc8918b.zip |
ether_addr_equal: Optimize implementation, remove unused compare_ether_addr
Add a new check for CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS to reduce
the number of or's used in the ether_addr_equal comparison to very
slightly improve function performance.
Simplify the ether_addr_equal_64bits implementation.
Integrate and remove the zap_last_2bytes helper as it's now
used only once.
Remove the now unused compare_ether_addr function.
Update the unaligned-memory-access documentation to remove the
compare_ether_addr description and show how unaligned accesses
could occur with ether_addr_equal.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dma/mv_xor.h')
0 files changed, 0 insertions, 0 deletions