rtl8188eu: Remove DBG_EXPIRATION_CHK - not defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-20 17:03:39 -05:00
parent c7c446f21a
commit 41163d07a7
2 changed files with 0 additions and 51 deletions

View file

@ -267,14 +267,6 @@ void rtw_remove_bcn_ie(_adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index)
static u8 chk_sta_is_alive(struct sta_info *psta)
{
u8 ret = false;
#ifdef DBG_EXPIRATION_CHK
DBG_88E("sta:%pM, rssi:%d, rx:"STA_PKTS_FMT", expire_to:%u, %s%ssq_len:%u\n",
(psta->hwaddr), psta->rssi_stat.UndecoratedSmoothedPWDB,
STA_RX_PKTS_DIFF_ARG(psta), psta->expire_to,
psta->state&WIFI_SLEEP_STATE ? "PS, " : "",
psta->state&WIFI_STA_ALIVE_CHK_STATE ? "SAC, " : "",
psta->sleepq_len);
#endif
if ((psta->sta_stats.last_rx_data_pkts + psta->sta_stats.last_rx_ctrl_pkts) ==
(psta->sta_stats.rx_data_pkts + psta->sta_stats.rx_ctrl_pkts))
@ -304,12 +296,6 @@ void expire_timeout_chk(_adapter *padapter)
plist = get_next(phead);
/* check auth_queue */
#ifdef DBG_EXPIRATION_CHK
if (rtw_end_of_queue_search(phead, plist) == false) {
DBG_88E(FUNC_NDEV_FMT" auth_list, cnt:%u\n"
, FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->auth_list_cnt);
}
#endif
while ((rtw_end_of_queue_search(phead, plist)) == false) {
psta = LIST_CONTAINOR(plist, struct sta_info, auth_list);
plist = get_next(plist);
@ -345,12 +331,6 @@ void expire_timeout_chk(_adapter *padapter)
plist = get_next(phead);
/* check asoc_queue */
#ifdef DBG_EXPIRATION_CHK
if (rtw_end_of_queue_search(phead, plist) == false) {
DBG_88E(FUNC_NDEV_FMT" asoc_list, cnt:%u\n"
, FUNC_NDEV_ARG(padapter->pnetdev), pstapriv->asoc_list_cnt);
}
#endif
while ((rtw_end_of_queue_search(phead, plist)) == false) {
psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list);
plist = get_next(plist);