mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 15:43:35 -04:00
staging: rtl8723bs: remove unused ODM_RT_ASSERT macro
remove unused ODM_RT_ASSERT macro declarations. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/4d9fd27f60d1ef4bf8384d411885d05c6d40768e.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
57c73cb6fd
commit
7c87fd54d5
@@ -96,20 +96,6 @@
|
||||
#endif
|
||||
|
||||
#if DBG
|
||||
#define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\
|
||||
do {\
|
||||
if (!expr) {\
|
||||
DbgPrint("Assertion failed! %s at ......\n", #expr);\
|
||||
DbgPrint(\
|
||||
" ......%s,%s, line =%d\n",\
|
||||
__FILE__,\
|
||||
__func__,\
|
||||
__LINE__\
|
||||
);\
|
||||
RT_PRINTK fmt;\
|
||||
ASSERT(false);\
|
||||
} \
|
||||
} while (0)
|
||||
#define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); }
|
||||
|
||||
#define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\
|
||||
@@ -129,7 +115,6 @@
|
||||
} \
|
||||
} while (0)
|
||||
#else
|
||||
#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)
|
||||
#define ODM_dbg_trace(str) no_printk("%s", str)
|
||||
|
||||
Reference in New Issue
Block a user