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>
This commit is contained in:
committed by
Kalle Valo
parent
c72599bf4a
commit
e52a85d383
@ -968,7 +968,6 @@ void mwifiex_init_priv_params(struct mwifiex_private *priv,
|
|||||||
/* Initialize private structure */
|
/* Initialize private structure */
|
||||||
priv->current_key_index = 0;
|
priv->current_key_index = 0;
|
||||||
priv->media_connected = false;
|
priv->media_connected = false;
|
||||||
memset(&priv->nick_name, 0, sizeof(priv->nick_name));
|
|
||||||
memset(priv->mgmt_ie, 0,
|
memset(priv->mgmt_ie, 0,
|
||||||
sizeof(struct mwifiex_ie) * MAX_MGMT_IE_INDEX);
|
sizeof(struct mwifiex_ie) * MAX_MGMT_IE_INDEX);
|
||||||
priv->beacon_idx = MWIFIEX_AUTO_IDX_MASK;
|
priv->beacon_idx = MWIFIEX_AUTO_IDX_MASK;
|
||||||
|
@ -553,7 +553,6 @@ struct mwifiex_private {
|
|||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_DEBUG_FS
|
||||||
struct dentry *dfs_dev_dir;
|
struct dentry *dfs_dev_dir;
|
||||||
#endif
|
#endif
|
||||||
u8 nick_name[16];
|
|
||||||
u16 current_key_index;
|
u16 current_key_index;
|
||||||
struct semaphore async_sem;
|
struct semaphore async_sem;
|
||||||
struct cfg80211_scan_request *scan_request;
|
struct cfg80211_scan_request *scan_request;
|
||||||
|
Reference in New Issue
Block a user