Skip to contentSkip to conversation

staging: rtl8188eu: core: find and remove code valid only for 5 HGz.

PATCH In review Sreenath Madasu 2 participants 2 messages Jul 16, 2015 Staging

lore
Share & tools
lore
#0 lore raw

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

Fixed the "unused variable" warning for the driver.

---
 drivers/staging/rtl8188eu/core/rtw_ap.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/rtl8188eu/core/rtw_ap.c +0 -2
index 1a32e7b..5bded92 100644
@@ -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;
Signature · 1 line
2.3.6
#1 lore raw
Quoted 1 line · Sreenath Madasu

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