The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2]  staging: rtl8188eu: core: find and remove code valid only for 5 HGz.
@ 2015-07-16 10:47 Sreenath Madasu
  2015-07-16 11:34 ` Sudip Mukherjee
  0 siblings, 1 reply; 2+ messages in thread
From: Sreenath Madasu @ 2015-07-16 10:47 UTC (permalink / raw)
  To: gregkh
  Cc: navin.patidar, luca, tapaswenipathak, somyaanand214, devel,
	linux-kernel

Fixed the "unused variable" warning for the driver.

Signed-off-by: Sreenath Madasu <Sreenath.Madasu@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_ap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c
index 1a32e7b..5bded92 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ap.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ap.c
@@ -464,8 +464,6 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
 	unsigned char limit;
 	unsigned int tx_ra_bitmap = 0;
 	struct ht_priv	*psta_ht = NULL;
-	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
-	struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
 
 	if (psta)
 		psta_ht = &psta->htpriv;
-- 
2.3.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2]  staging: rtl8188eu: core: find and remove code valid only for 5 HGz.
  2015-07-16 10:47 [PATCH v2] staging: rtl8188eu: core: find and remove code valid only for 5 HGz Sreenath Madasu
@ 2015-07-16 11:34 ` Sudip Mukherjee
  0 siblings, 0 replies; 2+ messages in thread
From: Sudip Mukherjee @ 2015-07-16 11:34 UTC (permalink / raw)
  To: Sreenath Madasu
  Cc: gregkh, navin.patidar, luca, tapaswenipathak, somyaanand214,
	devel, linux-kernel

On Thu, Jul 16, 2015 at 06:47:40AM -0400, Sreenath Madasu wrote:
> Fixed the "unused variable" warning for the driver.

oops. no. You have done it on top of your previous patch. Please combine
these two patches and send a single patch which will remove the code
related to channel>14 and this unused variable.

regards
sudip

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-16 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 10:47 [PATCH v2] staging: rtl8188eu: core: find and remove code valid only for 5 HGz Sreenath Madasu
2015-07-16 11:34 ` Sudip Mukherjee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox