diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2011-11-25 22:40:31 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 23:44:23 +0400 |
commit | 9a3916910548e419f4da438406f84af9e05f72eb (patch) | |
tree | 2b40d8c0eb5467cddb7a8fda615bb4343cd1614f /drivers/acpi | |
parent | b4cfb5d574cd9e23e41462061941f6ac68a41c80 (diff) | |
download | linux-9a3916910548e419f4da438406f84af9e05f72eb.tar.xz |
ath5k: Optimize ath5k_cw_validate
Optimize ath5k_cw_validate by using the classic (X & (X - 1)) == 0
check to see if a number is power of 2.
v2: Use functions from log2.h instead
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions