mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 21:44:23 -04:00
staging: r8188eu: remove rwdinfo member of struct adapter
Only default value of wdinfo was used. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
89f3b36158
commit
430fc0fa40
@@ -156,11 +156,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
|
||||
|
||||
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 */
|
||||
pmlmepriv = &Adapter->mlmepriv;
|
||||
|
||||
|
||||
@@ -188,8 +188,6 @@ struct adapter {
|
||||
struct hostapd_priv *phostapdpriv;
|
||||
#endif
|
||||
|
||||
struct wifidirect_info wdinfo;
|
||||
|
||||
void *HalData;
|
||||
struct hal_ops HalFunc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user