diff options
author | Avinash Patil <patila@marvell.com> | 2014-07-17 11:48:47 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-07-18 13:45:26 -0400 |
commit | 9435d09146b3ab31e399e6c6ff2cf225dd0955d8 (patch) | |
tree | 635a4050444dd231704a514b5c1380be3c8e7dfd /drivers/net | |
parent | e2f04f7256b3da8411bb9422ccf2ac17d7c51be8 (diff) | |
download | linux-9435d09146b3ab31e399e6c6ff2cf225dd0955d8.tar.gz linux-9435d09146b3ab31e399e6c6ff2cf225dd0955d8.tar.bz2 linux-9435d09146b3ab31e399e6c6ff2cf225dd0955d8.zip |
mwifiex: remove needless current_bssid variable
This local variable is not used anywhere in function.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index 0b977ea1cddb..8d6c25908b6d 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c @@ -1288,8 +1288,6 @@ done: int mwifiex_associate(struct mwifiex_private *priv, struct mwifiex_bssdescriptor *bss_desc) { - u8 current_bssid[ETH_ALEN]; - /* Return error if the adapter is not STA role or table entry * is not marked as infra. */ @@ -1304,10 +1302,6 @@ int mwifiex_associate(struct mwifiex_private *priv, else mwifiex_set_ba_params(priv); - memcpy(¤t_bssid, - &priv->curr_bss_params.bss_descriptor.mac_address, - sizeof(current_bssid)); - /* Clear any past association response stored for application retrieval */ priv->assoc_rsp_size = 0; |