diff options
author | navin patidar | 2014-06-16 18:05:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-06-20 00:37:17 +0200 |
commit | 5605da1754b36a5d3552291b09f89817c12e0ab8 (patch) | |
tree | 8a25121dec79da89540782a2e05ebff504b826cf | |
parent | staging: rtl8188eu: Remove function nat25_db_cleanup() (diff) | |
download | kernel-qcow2-linux-5605da1754b36a5d3552291b09f89817c12e0ab8.tar.gz kernel-qcow2-linux-5605da1754b36a5d3552291b09f89817c12e0ab8.tar.xz kernel-qcow2-linux-5605da1754b36a5d3552291b09f89817c12e0ab8.zip |
staging: rtl8188eu: Remove pppoe_connection_in_progress from struct adapter
Value stored in pppoe_connection_in_progress isn't being
used by driver.
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_mlme.c | 7 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/drv_types.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c index 260243b6cb74..e0e119cd11dd 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mlme.c +++ b/drivers/staging/rtl8188eu/core/rtw_mlme.c @@ -1546,13 +1546,6 @@ void rtw_dynamic_check_timer_handlder(struct adapter *adapter) (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_ADHOC_STATE) == true)) { /* expire NAT2.5 entry */ nat25_db_expire(adapter); - - if (adapter->pppoe_connection_in_progress > 0) - adapter->pppoe_connection_in_progress--; - - /* due to rtw_dynamic_check_timer_handlder() is called every 2 seconds */ - if (adapter->pppoe_connection_in_progress > 0) - adapter->pppoe_connection_in_progress--; } rcu_read_unlock(); diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 9c3f905a2f11..71b4af7c52cb 100644 --- a/drivers/staging/rtl8188eu/include/drv_types.h +++ b/drivers/staging/rtl8188eu/include/drv_types.h @@ -256,7 +256,6 @@ struct adapter { spinlock_t br_ext_lock; struct nat25_network_db_entry *nethash[NAT25_HASH_SIZE]; - int pppoe_connection_in_progress; unsigned char pppoe_addr[MACADDRLEN]; unsigned char scdb_mac[MACADDRLEN]; unsigned char scdb_ip[4]; |