mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
Remove wrapper routine rtw_msleep_os()
The effect of this macro is to call msleep(). Remove the wrapper. Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
1fcfef2e07
commit
fdbea81f08
@@ -364,7 +364,6 @@ extern bool _rtw_time_after(systime a, systime b);
|
||||
|
||||
extern void rtw_sleep_schedulable(int ms);
|
||||
|
||||
extern void rtw_msleep_os(int ms);
|
||||
extern void rtw_usleep_os(int us);
|
||||
|
||||
extern u32 rtw_atoi(u8 *s);
|
||||
@@ -416,7 +415,7 @@ static inline void rtw_thread_wait_stop(void)
|
||||
#ifdef PLATFORM_LINUX
|
||||
#if 0
|
||||
while (!kthread_should_stop())
|
||||
rtw_msleep_os(10);
|
||||
msleep(10);
|
||||
#else
|
||||
set_current_state(TASK_INTERRUPTIBLE);
|
||||
while (!kthread_should_stop()) {
|
||||
|
||||
Reference in New Issue
Block a user