Commit 24a24f95 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman

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: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220409163212.241122-3-martin@kaiser.cxSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 05a1e43e
......@@ -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;
}
......
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