]> git.baikalelectronics.ru Git - kernel.git/commit
net/wireless: use ARRAY_SIZE macro in radiotap.c
authorNikitas Angelinas <nikitasangelinas@gmail.com>
Wed, 8 Sep 2010 21:29:53 +0000 (22:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:05:57 +0000 (16:05 -0400)
commitce4dd5ba783d418112af3dc8809558043a2bdd73
treea60dca14153c7d56ccf8a04db95b951cf4a2bfed
parentd210ff65e6483d546aedfaa00afd6fa400ac9e31
net/wireless: use ARRAY_SIZE macro in radiotap.c

Replace sizeof(rtap_namespace_sizes) / sizeof(rtap_namespace_sizes[0])
with ARRAY_SIZE(rtap_namespace_sizes) in net/wireless/radiotap.c

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