mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 00:24:20 +00:00
rtl8188eu: Remove wrapper routine rtw_get_current_time()
This wrapper can be replaced with jiffies. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e6a0d110e4
commit
1e6accffc4
21 changed files with 67 additions and 82 deletions
|
@ -391,7 +391,7 @@ inline u8 rtw_get_oper_ch(struct adapter *adapter)
|
|||
inline void rtw_set_oper_ch(struct adapter *adapter, u8 ch)
|
||||
{
|
||||
if (adapter_to_dvobj(adapter)->oper_channel != ch)
|
||||
adapter_to_dvobj(adapter)->on_oper_ch_time = rtw_get_current_time();
|
||||
adapter_to_dvobj(adapter)->on_oper_ch_time = jiffies;
|
||||
|
||||
adapter_to_dvobj(adapter)->oper_channel = ch;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue