Commit 9435d091 authored by Avinash Patil's avatar Avinash Patil Committed by John W. Linville

mwifiex: remove needless current_bssid variable

This local variable is not used anywhere in function.
Signed-off-by: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e2f04f72
...@@ -1288,8 +1288,6 @@ int mwifiex_ret_802_11_ad_hoc(struct mwifiex_private *priv, ...@@ -1288,8 +1288,6 @@ int mwifiex_ret_802_11_ad_hoc(struct mwifiex_private *priv,
int mwifiex_associate(struct mwifiex_private *priv, int mwifiex_associate(struct mwifiex_private *priv,
struct mwifiex_bssdescriptor *bss_desc) struct mwifiex_bssdescriptor *bss_desc)
{ {
u8 current_bssid[ETH_ALEN];
/* Return error if the adapter is not STA role or table entry /* Return error if the adapter is not STA role or table entry
* is not marked as infra. * is not marked as infra.
*/ */
...@@ -1304,10 +1302,6 @@ int mwifiex_associate(struct mwifiex_private *priv, ...@@ -1304,10 +1302,6 @@ int mwifiex_associate(struct mwifiex_private *priv,
else else
mwifiex_set_ba_params(priv); mwifiex_set_ba_params(priv);
memcpy(&current_bssid,
&priv->curr_bss_params.bss_descriptor.mac_address,
sizeof(current_bssid));
/* Clear any past association response stored for application /* Clear any past association response stored for application
retrieval */ retrieval */
priv->assoc_rsp_size = 0; priv->assoc_rsp_size = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment