mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
staging: r8188eu: remove unnecessary rtw_get_passing_time_ms call
Remove the rtw_get_passing_time_ms call in send_beacon. Calling rtw_get_passing_time_ms makes no sense if we discard the result. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220409163212.241122-3-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
05a1e43e48
commit
24a24f95a2
@@ -5751,8 +5751,6 @@ unsigned int send_beacon(struct adapter *padapter)
|
||||
int issue = 0;
|
||||
int poll = 0;
|
||||
|
||||
u32 start = jiffies;
|
||||
|
||||
clear_beacon_valid_bit(padapter);
|
||||
|
||||
do {
|
||||
@@ -5770,7 +5768,6 @@ unsigned int send_beacon(struct adapter *padapter)
|
||||
if (!bxmitok)
|
||||
return _FAIL;
|
||||
|
||||
rtw_get_passing_time_ms(start);
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user