mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
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:
committed by
Carlos Garcés
parent
f1aa80a838
commit
1fcfef2e07
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user