mwifiex: fix make namespacecheck warnings
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 13 Oct 2011 03:29:33 +0000 (20:29 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:20 +0000 (14:48 -0400)
commit711825a06bb288e04f8236d77c4e12eba9a1c478
tree8095d8e79c50370fafa03f0c340489e1a98df563
parentefaaa8b8414e0ab4ba09aaaf79ab92a34b75797b
mwifiex: fix make namespacecheck warnings

This patch takes care of warnings found by running
'make namespacecheck':

1. Remove dead code.
2. Reorder function definitions to avoid forward declarations.
3. Remove unnecessary function/structure declarations and mark
   them as static.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfp.c
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/scan.c
drivers/net/wireless/mwifiex/sta_ioctl.c
drivers/net/wireless/mwifiex/txrx.c