Commit 430fc0fa authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: remove rwdinfo member of struct adapter

Only default value of wdinfo was used.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 89f3b361
...@@ -156,11 +156,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter) ...@@ -156,11 +156,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&fw_ps_awake)); rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&fw_ps_awake));
/* Fw is under p2p powersaving mode, driver should stop dynamic mechanism. */
/* modifed by thomas. 2011.06.11. */
if (Adapter->wdinfo.p2p_ps_mode)
fw_ps_awake = false;
/* ODM */ /* ODM */
pmlmepriv = &Adapter->mlmepriv; pmlmepriv = &Adapter->mlmepriv;
......
...@@ -188,8 +188,6 @@ struct adapter { ...@@ -188,8 +188,6 @@ struct adapter {
struct hostapd_priv *phostapdpriv; struct hostapd_priv *phostapdpriv;
#endif #endif
struct wifidirect_info wdinfo;
void *HalData; void *HalData;
struct hal_ops HalFunc; struct hal_ops HalFunc;
......
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