mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-03-31 22:49:56 +00:00
Remove wrapper around do_div
Wrapper routine rtw_modular64() contains only a call to do_div() and is used once in the code. Remove the wrapper. Link: https://lore.kernel.org/r/20210803135223.12543-9-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
d7c3737cd5
commit
4d3d23dd24
@@ -2428,7 +2428,7 @@ void rtw_debug_rx_bcn(_adapter *adapter, u8 *pframe, u32 packet_len)
|
||||
|
||||
update_TSF(pmlmeext, pframe, packet_len);
|
||||
tsf = pmlmeext->TSFValue;
|
||||
tsf_offset = rtw_modular64(pmlmeext->TSFValue, (mlmeinfo->bcn_interval * 1024));
|
||||
tsf_offset = do_div(pmlmeext->TSFValue, (mlmeinfo->bcn_interval * 1024));
|
||||
|
||||
/*get TIM IE*/
|
||||
/*DTIM Count*/
|
||||
|
||||
Reference in New Issue
Block a user