From 57d32befb3297fb8071645ac46ec531333a0d41f Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sun, 21 Jul 2013 18:11:10 -0500 Subject: [PATCH] rtl8188eu: Remove DBG_DELAY_OS - not selected Signed-off-by: Larry Finger --- include/osdep_service.h | 7 ------- os_dep/osdep_service.c | 15 --------------- 2 files changed, 22 deletions(-) diff --git a/include/osdep_service.h b/include/osdep_service.h index 1bdc7b6..aa34578 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -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); diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index d0813c2..1996cec 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -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) {