diff options
| author | 2011-11-25 20:40:31 +0200 | |
|---|---|---|
| committer | 2011-11-28 14:44:23 -0500 | |
| commit | 9a3916910548e419f4da438406f84af9e05f72eb (patch) | |
| tree | 2b40d8c0eb5467cddb7a8fda615bb4343cd1614f /tools/lib/python/kdoc/python_version.py | |
| parent | ath5k: Renumber hw queue ids (diff) | |
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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
