diff options
author | Ivan Safonov <insafonov@gmail.com> | 2016-09-03 22:30:10 +0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-12 11:23:21 +0200 |
commit | 329473af1b4015d5e2a2a64e7e030a01a985a146 (patch) | |
tree | 50239e1e2bcb8c1a2536aed4f86c00fa0fc42287 | |
parent | 430fc0fa40ab5c0331608f6ca32eb267ff590c07 (diff) | |
download | linux-329473af1b4015d5e2a2a64e7e030a01a985a146.tar.bz2 |
staging: r8188eu: remove fw_ps_awake variable of rtl8188e_HalDmWatchDog function
Value of the fw_ps_awake does not used.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c index f9ad01a4fd3f..e717999118b9 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c @@ -143,7 +143,6 @@ void rtl8188e_InitHalDm(struct adapter *Adapter) void rtl8188e_HalDmWatchDog(struct adapter *Adapter) { - bool fw_ps_awake = true; u8 hw_init_completed = false; struct hal_data_8188e *hal_data = GET_HAL_DATA(Adapter); struct mlme_priv *pmlmepriv = NULL; @@ -154,8 +153,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter) if (!hw_init_completed) goto skip_dm; - rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&fw_ps_awake)); - /* ODM */ pmlmepriv = &Adapter->mlmepriv; |