mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
86fdc52e9a
commit
e91077579f
29 changed files with 671 additions and 746 deletions
|
@ -99,20 +99,6 @@ extern u32 GlobalDebugLevel;
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#define _func_enter_ \
|
||||
do { \
|
||||
if (GlobalDebugLevel >= _drv_debug_) \
|
||||
pr_info("%s : %s enters at %d\n", \
|
||||
DRIVER_PREFIX, __func__, __LINE__); \
|
||||
} while (0)
|
||||
|
||||
#define _func_exit_ \
|
||||
do { \
|
||||
if (GlobalDebugLevel >= _drv_debug_) \
|
||||
pr_info("%s : %s exits at %d\n", \
|
||||
DRIVER_PREFIX, __func__, __LINE__); \
|
||||
} while (0)
|
||||
|
||||
#define RT_PRINT_DATA(_comp, _level, _titlestring, _hexdata, _hexdatalen)\
|
||||
do { \
|
||||
if (_level <= GlobalDebugLevel) { \
|
||||
|
|
|
@ -102,8 +102,6 @@ struct oid_obj_priv {
|
|||
|
||||
#if defined(_RTW_MP_IOCTL_C_)
|
||||
static int oid_null_function(struct oid_par_priv *poid_par_priv) {
|
||||
_func_enter_;
|
||||
_func_exit_;
|
||||
return NDIS_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue