Commit 7f5678ee authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Remove rtllib_network::last_associate

Variable was initialized and never used.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 81473242
...@@ -1246,7 +1246,6 @@ struct rtllib_network { ...@@ -1246,7 +1246,6 @@ struct rtllib_network {
unsigned long last_scanned; unsigned long last_scanned;
u8 mode; u8 mode;
u32 flags; u32 flags;
u32 last_associate;
u32 time_stamp[2]; u32 time_stamp[2];
u16 beacon_interval; u16 beacon_interval;
u16 listen_interval; u16 listen_interval;
......
...@@ -2326,7 +2326,6 @@ static inline int rtllib_network_init( ...@@ -2326,7 +2326,6 @@ static inline int rtllib_network_init(
/* Where to pull this? beacon->listen_interval;*/ /* Where to pull this? beacon->listen_interval;*/
network->listen_interval = 0x0A; network->listen_interval = 0x0A;
network->rates_len = network->rates_ex_len = 0; network->rates_len = network->rates_ex_len = 0;
network->last_associate = 0;
network->ssid_len = 0; network->ssid_len = 0;
network->hidden_ssid_len = 0; network->hidden_ssid_len = 0;
memset(network->hidden_ssid, 0, sizeof(network->hidden_ssid)); memset(network->hidden_ssid, 0, sizeof(network->hidden_ssid));
...@@ -2504,7 +2503,6 @@ static inline void update_network(struct rtllib_device *ieee, ...@@ -2504,7 +2503,6 @@ static inline void update_network(struct rtllib_device *ieee,
dst->qos_data.active = qos_active; dst->qos_data.active = qos_active;
dst->qos_data.old_param_count = old_param; dst->qos_data.old_param_count = old_param;
/* dst->last_associate is not overwritten */
dst->wmm_info = src->wmm_info; dst->wmm_info = src->wmm_info;
if (src->wmm_param[0].ac_aci_acm_aifsn || if (src->wmm_param[0].ac_aci_acm_aifsn ||
src->wmm_param[1].ac_aci_acm_aifsn || src->wmm_param[1].ac_aci_acm_aifsn ||
......
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