]> git.karo-electronics.de Git - linux-beck.git/commit
drivers/net/wireless/ath/ath9k: use ARRAY_SIZE macro in ani.c
authorNikitas Angelinas <nikitasangelinas@gmail.com>
Wed, 8 Sep 2010 21:25:42 +0000 (22:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:05:57 +0000 (16:05 -0400)
commitbbce80e1101526f7a616e75a0d77b57f4062c62d
treeaf83b3761e77d282de0e49d90713408617ebca14
parent516c6e1f52a09fb2e7024101db3f0375f65670df
drivers/net/wireless/ath/ath9k: use ARRAY_SIZE macro in ani.c

Replace (sizeof(ofdm_level_table)/sizeof(ofdm_level_table[0]) with
ARRAY_SIZE(ofdm_level_table), and (sizeof(cck_level_table)/
sizeof(cck_level_table[0]) with ARRAY_SIZE(cck_level_table) in
drivers/net/wireless/ath/ath9k/ani.c

Signed-off-by: Nikitas Angelinas <nikitasangelinas@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ani.c