]> git.baikalelectronics.ru Git - kernel.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)
commitd210ff65e6483d546aedfaa00afd6fa400ac9e31
treeaf83b3761e77d282de0e49d90713408617ebca14
parent76e4ebdb307ef078ef014ac89b918aa27a6b0af1
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