mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 02/18] staging: rtl8188eu:Remove "silent_reset_inprogress" from struct sreset_priv
Date: Thu, 29 May 2014 23:20:42 +0530	[thread overview]
Message-ID: <1401385858-28722-2-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401385858-28722-1-git-send-email-navin.patidar@gmail.com>

psrtpriv->silent_reset_inprogress is always false.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_sreset.c    |    4 ----
 drivers/staging/rtl8188eu/include/rtw_sreset.h |    1 -
 2 files changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_sreset.c b/drivers/staging/rtl8188eu/core/rtw_sreset.c
index b7b787e..434c433 100644
--- a/drivers/staging/rtl8188eu/core/rtw_sreset.c
+++ b/drivers/staging/rtl8188eu/core/rtw_sreset.c
@@ -25,7 +25,6 @@ void sreset_init_value(struct adapter *padapter)
 	struct hal_data_8188e	*pHalData = GET_HAL_DATA(padapter);
 	struct sreset_priv *psrtpriv = &pHalData->srestpriv;
 
-	psrtpriv->silent_reset_inprogress = false;
 	psrtpriv->Wifi_Error_Status = WIFI_STATUS_SUCCESS;
 	psrtpriv->last_tx_time = 0;
 	psrtpriv->last_tx_complete_time = 0;
@@ -35,7 +34,6 @@ void sreset_reset_value(struct adapter *padapter)
 	struct hal_data_8188e	*pHalData = GET_HAL_DATA(padapter);
 	struct sreset_priv *psrtpriv = &pHalData->srestpriv;
 
-	psrtpriv->silent_reset_inprogress = false;
 	psrtpriv->Wifi_Error_Status = WIFI_STATUS_SUCCESS;
 	psrtpriv->last_tx_time = 0;
 	psrtpriv->last_tx_complete_time = 0;
@@ -49,8 +47,6 @@ u8 sreset_get_wifi_status(struct adapter *padapter)
 	u8 status = WIFI_STATUS_SUCCESS;
 	u32 val32 = 0;
 
-	if (psrtpriv->silent_reset_inprogress)
-		return status;
 	val32 = rtw_read32(padapter, REG_TXDMA_STATUS);
 	if (val32 == 0xeaeaeaea) {
 		psrtpriv->Wifi_Error_Status = WIFI_IF_NOT_EXIST;
diff --git a/drivers/staging/rtl8188eu/include/rtw_sreset.h b/drivers/staging/rtl8188eu/include/rtw_sreset.h
index fbfdffb..8474180 100644
--- a/drivers/staging/rtl8188eu/include/rtw_sreset.h
+++ b/drivers/staging/rtl8188eu/include/rtw_sreset.h
@@ -24,7 +24,6 @@
 #include <drv_types.h>
 
 struct sreset_priv {
-	u8	silent_reset_inprogress;
 	u8	Wifi_Error_Status;
 	unsigned long last_tx_time;
 	unsigned long last_tx_complete_time;
-- 
1.7.10.4


  reply	other threads:[~2014-05-29 17:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 17:50 [PATCH 01/18] staging: rtl8188eu: Remove "silentreset_mutex" " navin patidar
2014-05-29 17:50 ` navin patidar [this message]
2014-05-29 17:50 ` [PATCH 03/18] staging: rtl8188eu: Use rtw_hal_sreset_init() in rtw_reset_drv_sw() navin patidar
2014-05-29 17:50 ` [PATCH 04/18] staging: rtl8188eu: Remove unused function rtw_hal_sreset_reset_value() navin patidar
2014-05-29 17:50 ` [PATCH 05/18] staging: rtl8188eu: Remove unused function pointer ->sreset_reset_value navin patidar
2014-05-29 17:50 ` [PATCH 06/18] staging: rtl8188eu: Remove unused function reset_reset_value() navin patidar
2014-05-29 17:50 ` [PATCH 07/18] staging: rtl8188eu: Remove function rtw_hal_sreset_xmit_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 08/18] staging: rtl8188eu: Remove unused function rtl8188e_sreset_xmit_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 09/18] staging:rtl8188eu: Remove function rtw_hal_sreset_linked_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 10/18] staging:rtl8188eu: Remove function rtl8188e_sreset_linked_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 11/18] staging: rtl8188eu: Remove function rtw_hal_sreset_reset() navin patidar
2014-05-29 17:50 ` [PATCH 12/18] staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform() navin patidar
2014-05-29 17:50 ` [PATCH 13/18] staging: rtl8188eu: Remove empty files rtl8188e_sreset.[c|h] navin patidar
2014-05-29 17:50 ` [PATCH 14/18] staging: rtl8188eu: Remove "last_tx_time" from struct sreset_priv navin patidar
2014-05-29 17:50 ` [PATCH 15/18] staging: rtl8188eu: Remove "last_tx_complete_time" " navin patidar
2014-05-29 17:50 ` [PATCH 16/18] staging: rtl8188eu: Remove Hal8188EReg.h file navin patidar
2014-05-29 17:50 ` [PATCH 17/18] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-29 17:50 ` [PATCH 18/18] staging: rtl8188eu: Remove usb_vendor_req.h header file navin patidar
2014-05-29 21:48 ` [PATCH 01/18] staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_priv Dan Carpenter

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=1401385858-28722-2-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®