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:
Larry Finger
2021-08-05 14:26:40 -05:00
committed by Carlos Garcés
parent 1fcfef2e07
commit fdbea81f08
25 changed files with 105 additions and 132 deletions

View File

@@ -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()) {