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:
Martin Kaiser
2022-04-09 18:32:04 +02:00
committed by Greg Kroah-Hartman
parent 05a1e43e48
commit 24a24f95a2

View File

@@ -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;
}