Commit 329473af authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: remove fw_ps_awake variable of rtl8188e_HalDmWatchDog function

Value of the fw_ps_awake does not used.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 430fc0fa
...@@ -143,7 +143,6 @@ void rtl8188e_InitHalDm(struct adapter *Adapter) ...@@ -143,7 +143,6 @@ void rtl8188e_InitHalDm(struct adapter *Adapter)
void rtl8188e_HalDmWatchDog(struct adapter *Adapter) void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
{ {
bool fw_ps_awake = true;
u8 hw_init_completed = false; u8 hw_init_completed = false;
struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter);
struct mlme_priv *pmlmepriv = NULL; struct mlme_priv *pmlmepriv = NULL;
...@@ -154,8 +153,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter) ...@@ -154,8 +153,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
if (!hw_init_completed) if (!hw_init_completed)
goto skip_dm; goto skip_dm;
rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&fw_ps_awake));
/* ODM */ /* ODM */
pmlmepriv = &Adapter->mlmepriv; pmlmepriv = &Adapter->mlmepriv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment