From 5fc5fdc06a1618cb9b8ac13db8f80e24e9612262 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Fri, 19 Jul 2013 21:15:21 -0500 Subject: [PATCH] rtl8188eu: Remove CONFIG_LPS_RPWM_TIMER This symbol is not defined. Signed-off-by: Larry Finger --- core/rtw_pwrctrl.c | 13 ------------- include/rtw_pwrctrl.h | 5 ----- 2 files changed, 18 deletions(-) diff --git a/core/rtw_pwrctrl.c b/core/rtw_pwrctrl.c index db518f0..ea7fd85 100644 --- a/core/rtw_pwrctrl.c +++ b/core/rtw_pwrctrl.c @@ -356,20 +356,11 @@ _func_enter_; pslv = PS_STATE_S3; } -#ifdef CONFIG_LPS_RPWM_TIMER - if (pwrpriv->brpwmtimeout == true) - { - DBG_88E("%s: RPWM timeout, force to set RPWM(0x%02X) again!\n", __func__, pslv); - } - else -#endif /* CONFIG_LPS_RPWM_TIMER */ - { if ( (pwrpriv->rpwm == pslv)) { RT_TRACE(_module_rtl871x_pwrctrl_c_,_drv_err_, ("%s: Already set rpwm[0x%02X], new=0x%02X!\n", __func__, pwrpriv->rpwm, pslv)); return; } - } if ((padapter->bSurpriseRemoved == true) || (padapter->hw_init_completed == false)) @@ -401,10 +392,6 @@ _func_enter_; pwrpriv->rpwm = pslv; -#ifdef CONFIG_LPS_RPWM_TIMER - if (rpwm & PS_ACK) - _set_timer(&pwrpriv->pwr_rpwm_timer, LPS_RPWM_WAIT_MS); -#endif /* CONFIG_LPS_RPWM_TIMER */ rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm)); pwrpriv->tog += 0x80; diff --git a/include/rtw_pwrctrl.h b/include/rtw_pwrctrl.h index 233e9b5..776ba73 100644 --- a/include/rtw_pwrctrl.h +++ b/include/rtw_pwrctrl.h @@ -191,11 +191,6 @@ struct pwrctrl_priv u32 alives; _workitem cpwm_event; -#ifdef CONFIG_LPS_RPWM_TIMER - u8 brpwmtimeout; - _workitem rpwmtimeoutwi; - _timer pwr_rpwm_timer; -#endif // CONFIG_LPS_RPWM_TIMER u8 bpower_saving; u8 b_hw_radio_off;