Remove rtw_yield_os()

This wrapper is just a call to yield().

Link: https://lore.kernel.org/r/20210805192644.15978-1-Larry.Finger@lwfinger.net
This commit is contained in:
Larry Finger
2021-08-05 14:26:39 -05:00
committed by Carlos Garcés
parent f1aa80a838
commit 1fcfef2e07
6 changed files with 5 additions and 21 deletions

View File

@@ -1748,19 +1748,6 @@ void rtw_udelay_os(int us)
}
#endif
void rtw_yield_os(void)
{
#ifdef PLATFORM_LINUX
yield();
#endif
#ifdef PLATFORM_FREEBSD
yield();
#endif
#ifdef PLATFORM_WINDOWS
SwitchToThread();
#endif
}
bool rtw_macaddr_is_larger(const u8 *a, const u8 *b)
{
u32 va, vb;