mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 22:13:41 +00:00
rtl8188eu: Remove DBG_DELAY_OS - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8b0cf8ad5b
commit
57d32befb3
2 changed files with 0 additions and 22 deletions
|
@ -424,15 +424,8 @@ extern void rtw_usleep_os(int us);
|
|||
|
||||
extern u32 rtw_atoi(u8* s);
|
||||
|
||||
#ifdef DBG_DELAY_OS
|
||||
#define rtw_mdelay_os(ms) _rtw_mdelay_os((ms), __func__, __LINE__)
|
||||
#define rtw_udelay_os(ms) _rtw_udelay_os((ms), __func__, __LINE__)
|
||||
extern void _rtw_mdelay_os(int ms, const char *func, const int line);
|
||||
extern void _rtw_udelay_os(int us, const char *func, const int line);
|
||||
#else
|
||||
extern void rtw_mdelay_os(int ms);
|
||||
extern void rtw_udelay_os(int us);
|
||||
#endif
|
||||
|
||||
extern void rtw_yield_os(void);
|
||||
|
||||
|
|
|
@ -296,20 +296,6 @@ void rtw_usleep_os(int us)
|
|||
msleep( (us/1000) + 1);
|
||||
}
|
||||
|
||||
#ifdef DBG_DELAY_OS
|
||||
void _rtw_mdelay_os(int ms, const char *func, const int line)
|
||||
{
|
||||
DBG_88E("%s:%d %s(%d)\n", func, line, __func__, ms);
|
||||
|
||||
mdelay((unsigned long)ms);
|
||||
}
|
||||
|
||||
void _rtw_udelay_os(int us, const char *func, const int line)
|
||||
{
|
||||
DBG_88E("%s:%d %s(%d)\n", func, line, __func__, us);
|
||||
udelay((unsigned long)us);
|
||||
}
|
||||
#else
|
||||
void rtw_mdelay_os(int ms)
|
||||
{
|
||||
mdelay((unsigned long)ms);
|
||||
|
@ -319,7 +305,6 @@ void rtw_udelay_os(int us)
|
|||
{
|
||||
udelay((unsigned long)us);
|
||||
}
|
||||
#endif
|
||||
|
||||
void rtw_yield_os(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue