mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
Remove wrapper rtw_udelay_os()
This wrapper is a simple call to udelay(). Remove it. Link: https://lore.kernel.org/r/20210805192644.15978-4-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
7f8451a86e
commit
a5adfa895b
@@ -286,7 +286,6 @@
|
||||
|
||||
/* #define DBG_CMD_QUEUE */
|
||||
/* #define DBG_IO */
|
||||
/* #define DBG_DELAY_OS */
|
||||
/* #define DBG_MEM_ALLOC */
|
||||
/* #define DBG_IOCTL */
|
||||
|
||||
|
||||
@@ -368,13 +368,6 @@ extern void rtw_usleep_os(int us);
|
||||
|
||||
extern u32 rtw_atoi(u8 *s);
|
||||
|
||||
#ifdef DBG_DELAY_OS
|
||||
#define rtw_udelay_os(ms) _rtw_udelay_os((ms), __FUNCTION__, __LINE__)
|
||||
extern void _rtw_udelay_os(int us, const char *func, const int line);
|
||||
#else
|
||||
extern void rtw_udelay_os(int us);
|
||||
#endif
|
||||
|
||||
extern void rtw_init_timer(_timer *ptimer, void *padapter, void *pfunc, void *ctx);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user