]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
carl9170: Convert byte_rev_table uses to bitrev8
authorJoe Perches <joe@perches.com>
Tue, 28 Oct 2014 21:18:58 +0000 (14:18 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:26:52 +0000 (15:26 -0400)
commit7a1283d8f5298437a454ec477384dcd9f9f88bac
tree1a0dd00ece0e81c4526540648b535dd8b18a919c
parent9a06bec9aee0ae54f175b20a8d4f5e14aef24a9f
carl9170: Convert byte_rev_table uses to bitrev8

Use the inline function instead of directly indexing the array.

This allows some architectures with hardware instructions
for bit reversals to eliminate the array.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/phy.c