diff options
author | Avinash Patil <patila@marvell.com> | 2015-01-28 05:11:58 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 03:20:06 -0500 |
commit | e52a85d383d505ee7654ba993a6a31eeee79f232 (patch) | |
tree | 500be00ee3a288bd968fe2197eeb161c4692e6c3 /drivers/net | |
parent | c72599bf4a92354ec6366820115ea040cc9e7358 (diff) |
mwifiex: remove redundant nick_name variable
This is not used anywhere execpt initialization.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c index 9836df0eb1e7..99cd3604b3f3 100644 --- a/drivers/net/wireless/mwifiex/main.c +++ b/drivers/net/wireless/mwifiex/main.c | |||
@@ -968,7 +968,6 @@ void mwifiex_init_priv_params(struct mwifiex_private *priv, | |||
968 | /* Initialize private structure */ | 968 | /* Initialize private structure */ |
969 | priv->current_key_index = 0; | 969 | priv->current_key_index = 0; |
970 | priv->media_connected = false; | 970 | priv->media_connected = false; |
971 | memset(&priv->nick_name, 0, sizeof(priv->nick_name)); | ||
972 | memset(priv->mgmt_ie, 0, | 971 | memset(priv->mgmt_ie, 0, |
973 | sizeof(struct mwifiex_ie) * MAX_MGMT_IE_INDEX); | 972 | sizeof(struct mwifiex_ie) * MAX_MGMT_IE_INDEX); |
974 | priv->beacon_idx = MWIFIEX_AUTO_IDX_MASK; | 973 | priv->beacon_idx = MWIFIEX_AUTO_IDX_MASK; |
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 55273eefb785..99792b885b79 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -553,7 +553,6 @@ struct mwifiex_private { | |||
553 | #ifdef CONFIG_DEBUG_FS | 553 | #ifdef CONFIG_DEBUG_FS |
554 | struct dentry *dfs_dev_dir; | 554 | struct dentry *dfs_dev_dir; |
555 | #endif | 555 | #endif |
556 | u8 nick_name[16]; | ||
557 | u16 current_key_index; | 556 | u16 current_key_index; |
558 | struct semaphore async_sem; | 557 | struct semaphore async_sem; |
559 | struct cfg80211_scan_request *scan_request; | 558 | struct cfg80211_scan_request *scan_request; |