summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/fw.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2011-10-12 20:29:33 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-10-14 14:48:20 -0400
commit711825a06bb288e04f8236d77c4e12eba9a1c478 (patch)
tree8095d8e79c50370fafa03f0c340489e1a98df563 /drivers/net/wireless/mwifiex/fw.h
parentefaaa8b8414e0ab4ba09aaaf79ab92a34b75797b (diff)
downloadlinux-711825a06bb288e04f8236d77c4e12eba9a1c478.tar.gz
linux-711825a06bb288e04f8236d77c4e12eba9a1c478.tar.xz
linux-711825a06bb288e04f8236d77c4e12eba9a1c478.zip
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>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r--drivers/net/wireless/mwifiex/fw.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h
index 71c61b7e74ee..0cc5d73cb0c1 100644
--- a/drivers/net/wireless/mwifiex/fw.h
+++ b/drivers/net/wireless/mwifiex/fw.h
@@ -57,12 +57,6 @@ struct tx_packet_hdr {
#define GET_FW_DEFAULT_BANDS(adapter) \
((adapter->fw_cap_info >> 8) & ALL_802_11_BANDS)
-extern u8 supported_rates_b[B_SUPPORTED_RATES];
-extern u8 supported_rates_g[G_SUPPORTED_RATES];
-extern u8 supported_rates_bg[BG_SUPPORTED_RATES];
-extern u8 supported_rates_a[A_SUPPORTED_RATES];
-extern u8 supported_rates_n[N_SUPPORTED_RATES];
-
#define HostCmd_WEP_KEY_INDEX_MASK 0x3fff
#define KEY_INFO_ENABLED 0x01