mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove dead code for CONFIG_USE_USB_BUFFER_ALLOC_RX and remove CONFIG_TX_MCAST2UNI lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6583d55cd1
commit
7df5fff724
13 changed files with 1 additions and 445 deletions
|
@ -360,15 +360,12 @@ void expire_timeout_chk(_adapter *padapter)
|
|||
if (chk_sta_is_alive(psta) || !psta->expire_to) {
|
||||
psta->expire_to = pstapriv->expire_to;
|
||||
psta->keep_alive_trycnt = 0;
|
||||
#ifdef CONFIG_TX_MCAST2UNI
|
||||
psta->under_exist_checking = 0;
|
||||
#endif /* CONFIG_TX_MCAST2UNI */
|
||||
} else {
|
||||
psta->expire_to--;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_ACTIVE_KEEP_ALIVE_CHECK
|
||||
#ifdef CONFIG_TX_MCAST2UNI
|
||||
#ifdef CONFIG_80211N_HT
|
||||
if ( (psta->flags & WLAN_STA_HT) && (psta->htpriv.agg_enable_bitmap || psta->under_exist_checking) ) {
|
||||
/* check sta by delba(addba) for 11n STA */
|
||||
|
@ -387,7 +384,6 @@ void expire_timeout_chk(_adapter *padapter)
|
|||
}
|
||||
}
|
||||
#endif /* CONFIG_80211N_HT */
|
||||
#endif /* CONFIG_TX_MCAST2UNI */
|
||||
#endif /* CONFIG_ACTIVE_KEEP_ALIVE_CHECK */
|
||||
|
||||
if (psta->expire_to <= 0) {
|
||||
|
|
|
@ -117,10 +117,8 @@ exit:
|
|||
_func_exit_;
|
||||
|
||||
return res;
|
||||
|
||||
}
|
||||
|
||||
void rtw_mfree_recv_priv_lock(struct recv_priv *precvpriv);
|
||||
void rtw_mfree_recv_priv_lock(struct recv_priv *precvpriv)
|
||||
{
|
||||
_rtw_spinlock_free(&precvpriv->lock);
|
||||
|
@ -133,10 +131,6 @@ void rtw_mfree_recv_priv_lock(struct recv_priv *precvpriv)
|
|||
_rtw_spinlock_free(&precvpriv->recv_pending_queue.lock);
|
||||
|
||||
_rtw_spinlock_free(&precvpriv->free_recv_buf_queue.lock);
|
||||
|
||||
#ifdef CONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||
_rtw_spinlock_free(&precvpriv->recv_buf_pending_queue.lock);
|
||||
#endif /* CONFIG_USE_USB_BUFFER_ALLOC_RX */
|
||||
}
|
||||
|
||||
void _rtw_free_recv_priv (struct recv_priv *precvpriv)
|
||||
|
|
|
@ -67,9 +67,7 @@ _func_enter_;
|
|||
psta->ht_20mhz_set = 0;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TX_MCAST2UNI
|
||||
psta->under_exist_checking = 0;
|
||||
#endif /* CONFIG_TX_MCAST2UNI */
|
||||
|
||||
psta->keep_alive_trycnt = 0;
|
||||
|
||||
|
@ -563,9 +561,7 @@ _func_enter_;
|
|||
|
||||
#endif /* CONFIG_NATIVEAP_MLME */
|
||||
|
||||
#ifdef CONFIG_TX_MCAST2UNI
|
||||
psta->under_exist_checking = 0;
|
||||
#endif /* CONFIG_TX_MCAST2UNI */
|
||||
|
||||
#endif /* CONFIG_AP_MODE */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue