aboutsummaryrefslogtreecommitdiff
path: root/include/linux/clkdev.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-12-05 14:54:38 -0800
committerMoyster <oysterized@gmail.com>2018-05-16 13:18:51 +0200
commita6c05487ed4f6d87b4e1c38ecf290d05db9c9d10 (patch)
treee419c560c982f01d9a6e686e5244786dbc2513dd /include/linux/clkdev.h
parent796d810c11f55563673dc0938a286ddcbe8d2da6 (diff)
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 'include/linux/clkdev.h')
0 files changed, 0 insertions, 0 deletions