* [PATCH 18/63] staging: r8188eu: remove scan_start_time and assoc_by_rssi members from mlme_priv structure
@ 2016-09-03 15:30 Ivan Safonov
0 siblings, 0 replies; only message in thread
From: Ivan Safonov @ 2016-09-03 15:30 UTC (permalink / raw)
To: Greg Kroah-Hartman, Bhaktipriya Shridhar, Binoy Jayan,
Arnd Bergmann, Shraddha Barke, devel, linux-kernel
Cc: Ivan Safonov
Value of this members does not used.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
drivers/staging/rtl8188eu/core/rtw_cmd.c | 2 --
drivers/staging/rtl8188eu/include/rtw_mlme.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c
index c0af5ab..e87ab11 100644
--- a/drivers/staging/rtl8188eu/core/rtw_cmd.c
+++ b/drivers/staging/rtl8188eu/core/rtw_cmd.c
@@ -305,8 +305,6 @@ u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid,
res = rtw_enqueue_cmd(pcmdpriv, ph2c);
if (res == _SUCCESS) {
- pmlmepriv->scan_start_time = jiffies;
-
mod_timer(&pmlmepriv->scan_to_timer,
jiffies + msecs_to_jiffies(SCANNING_TIMEOUT));
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme.h b/drivers/staging/rtl8188eu/include/rtw_mlme.h
index 627dccc..552fd6d 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mlme.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mlme.h
@@ -318,10 +318,8 @@ struct mlme_priv {
struct timer_list assoc_timer;
uint assoc_by_bssid;
- uint assoc_by_rssi;
struct timer_list scan_to_timer; /* driver itself handles scan_timeout status. */
- u32 scan_start_time; /* used to evaluate the time spent in scanning */
struct qos_priv qospriv;
--
2.7.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-03 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-03 15:30 [PATCH 18/63] staging: r8188eu: remove scan_start_time and assoc_by_rssi members from mlme_priv structure Ivan Safonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®