mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 20:34:23 -04:00
staging: rtl8723bs: remove ODM_RT_TRACE* unused macro defs
remove unused ODM_RT_TRACE* macro defs. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/f0feec848702a12594bb67acceb42f4be647088e.1619794331.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7081d290d3
commit
364787f941
@@ -96,27 +96,6 @@
|
||||
#endif
|
||||
|
||||
#if DBG
|
||||
#define ODM_RT_TRACE(pDM_Odm, comp, level, fmt)\
|
||||
do {\
|
||||
if (\
|
||||
(comp & pDM_Odm->DebugComponents) &&\
|
||||
(level <= pDM_Odm->DebugLevel ||\
|
||||
level == ODM_DBG_SERIOUS)\
|
||||
) {\
|
||||
RT_PRINTK fmt;\
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt)\
|
||||
do {\
|
||||
if (\
|
||||
(comp & pDM_Odm->DebugComponents) &&\
|
||||
(level <= pDM_Odm->DebugLevel)\
|
||||
) {\
|
||||
RT_PRINTK fmt;\
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\
|
||||
do {\
|
||||
if (!expr) {\
|
||||
@@ -150,8 +129,6 @@
|
||||
} \
|
||||
} while (0)
|
||||
#else
|
||||
#define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) no_printk fmt
|
||||
#define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt) no_printk fmt
|
||||
#define ODM_RT_ASSERT(pDM_Odm, expr, fmt) no_printk fmt
|
||||
#define ODM_dbg_enter() do {} while (0)
|
||||
#define ODM_dbg_exit() do {} while (0)
|
||||
|
||||
Reference in New Issue
Block a user