summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorMarc Yang <yangyang@marvell.com>2011-03-28 17:55:43 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-04 16:20:05 -0400
commitfd2e401a35500c9af63dc7ffbc545d2e3c478702 (patch)
tree80b7d421ae3d9bae360f5c0922b3c9bfcbe847e9 /drivers/net/wireless/mwifiex/init.c
parentf986b6d538c9351c99108b51be9f77ac1b300b16 (diff)
mwifiex: remove unused radio_on variable and macros
The radio_on variable is defined but never used. Signed-off-by: Marc Yang <yangyang@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/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index bad436d6059..6fcdaa9b429 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -234,7 +234,6 @@ static void mwifiex_init_adapter(struct mwifiex_adapter *adapter)
memset(adapter->bcn_buf, 0, sizeof(adapter->bcn_buf));
adapter->bcn_buf_end = adapter->bcn_buf;
- adapter->radio_on = RADIO_ON;
adapter->multiple_dtim = 1;
adapter->local_listen_interval = 0; /* default value in firmware