]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: r8188eu: remove scan_start_time and assoc_by_rssi members from mlme_priv...
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:30:52 +0000 (22:30 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:23:22 +0000 (11:23 +0200)
Value of this members does not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/include/rtw_mlme.h

index c0af5abb860265f4c7b234dfbbdd00dd97f078b8..e87ab11183cbb990552656de446aea3ca4dc08c2 100644 (file)
@@ -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));
 
index 627dccc0ce4b28e302cd9a97df92c78177c3207f..552fd6d89a28d6d291c08b989eba18f042840e83 100644 (file)
@@ -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;