diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-14 03:13:35 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-14 22:29:50 +0200 |
commit | 6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a (patch) | |
tree | cb0a2b5dd6ada7582664b3d27c6cdbb4da29a152 /drivers/net/wireless/libertas | |
parent | ath5k: Fix loop variable initializations (diff) | |
download | linux-6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a.tar.xz linux-6dcdc19e4ba4e6a9ccd733fdb745ad062cf3ea0a.zip |
b43: use the bitrev helpers rather than rolling a private one
The 4-bit reversal flip_4bit is replaced with the bitrev helper
bitrev8 and a 4-bit shift. The B43_WARN is moved to the location
where a register is read from for checking there. The other caller
explicitly passes an array index which is guaranteed to be within range
and so a B43_WARN is not added there.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Reviewed-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
0 files changed, 0 insertions, 0 deletions