From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 4/9] staging: rtl8188eu: Remove pppoe_connection_in_progress from struct adapter
Date: Mon, 16 Jun 2014 21:35:41 +0530 [thread overview]
Message-ID: <1402934746-29422-5-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1402934746-29422-1-git-send-email-navin.patidar@gmail.com>
Value stored in pppoe_connection_in_progress isn't being
used by driver.
Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
drivers/staging/rtl8188eu/core/rtw_mlme.c | 7 -------
drivers/staging/rtl8188eu/include/drv_types.h | 1 -
2 files changed, 8 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c
index 260243b..e0e119c 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 9c3f905..71b4af7 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];
--
1.7.10.4
next prev parent reply other threads:[~2014-06-16 16:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 16:05 [PATCH 0/9] staging: rtl8188eu: Remove code implementing NAT navin patidar
2014-06-16 16:05 ` [PATCH 1/9] staging: rtl8188eu: Remove function rtw_br_client_tx() navin patidar
2014-06-16 16:05 ` [PATCH 2/9] staging: rtl8188eu: Remove unused functons defined in rtw_br_ext.c navin patidar
2014-06-16 16:05 ` [PATCH 3/9] staging: rtl8188eu: Remove function nat25_db_cleanup() navin patidar
2014-06-16 16:05 ` navin patidar [this message]
2014-06-16 16:05 ` [PATCH 5/9] staging: rtl8188eu: Remove function nat25_db_expire() navin patidar
2014-06-16 16:05 ` [PATCH 6/9] staging: rtl8188eu: Remove function netdev_br_init() navin patidar
2014-06-16 16:05 ` [PATCH 7/9] staging: rtl8188eu: core: Remove file rtw_br_ext.c navin patidar
2014-06-16 16:05 ` [PATCH 8/9] staging: rtl8188eu: Remove unused members of struct adapter navin patidar
2014-06-16 16:05 ` [PATCH 9/9] staging: rtl8188eu: Remove file rtw_br_ext.h navin patidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402934746-29422-5-git-send-email-navin.patidar@gmail.com \
--to=navin.patidar@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®