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

staging: r8188eu: remove br_ext_lock and fix_rate members of struct adapter

br_ext_lock and fix_rate are not used after initialization.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2104905a
......@@ -139,7 +139,6 @@ void rtl8188e_InitHalDm(struct adapter *Adapter)
pdmpriv->DMFlag = DYNAMIC_FUNC_DISABLE;
Update_ODM_ComInfo_88E(Adapter);
ODM_DMInit(dm_odm);
Adapter->fix_rate = 0xFF;
}
void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
......
......@@ -225,10 +225,6 @@ struct adapter {
u8 bRxRSSIDisplay;
struct mutex hw_init_mutex;
spinlock_t br_ext_lock;
u8 fix_rate;
};
#define adapter_to_dvobj(adapter) (adapter->dvobj)
......
......@@ -911,8 +911,6 @@ u8 rtw_init_drv_sw(struct adapter *padapter)
rtw_hal_sreset_init(padapter);
spin_lock_init(&padapter->br_ext_lock);
exit:
RT_TRACE(_module_os_intfs_c_, _drv_info_, ("-rtw_init_drv_sw\n"));
......
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