Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1185712

[PATCH v2] staging: rtl8188eu: core: find and remove code valid only for 5 HGz.

From Sreenath Madasu <sreenath.madasu@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2] staging: rtl8188eu: core: find and remove code valid only for 5 HGz.
Date 2015-07-16 12:50 +0200
Message-ID <pMOTL-4d1-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2]  staging: rtl8188eu: core: find and remove code valid  only for 5 HGz. Sreenath Madasu <sreenath.madasu@gmail.com> - 2015-07-16 12:50 +0200
  Re: [PATCH v2]  staging: rtl8188eu: core: find and remove code valid  only for 5 HGz. Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-07-16 13:40 +0200

csiph-web