From: Nick Kossifidis Date: Fri, 25 Nov 2011 18:40:31 +0000 (+0200) Subject: ath5k: Optimize ath5k_cw_validate X-Git-Tag: v3.3-rc1~182^2~261^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3916910548e419f4da438406f84af9e05f72eb;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed