Commit 37066837 authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove unused ODM_PRINT_ADDR macro

remove unused ODM_PRINT_ADDR macro definitions.
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/8f04c3b8b841efc4271d4a7ef71a95e04894d64a.1619794331.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7c87fd54
...@@ -97,29 +97,10 @@ ...@@ -97,29 +97,10 @@
#if DBG #if DBG
#define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); } #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); }
#define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\
do {\
if (\
(comp & pDM_Odm->DebugComponents) &&\
(level <= pDM_Odm->DebugLevel)\
) {\
int __i;\
u8 *__ptr = (u8 *)ptr;\
DbgPrint("[ODM] ");\
DbgPrint(title_str);\
DbgPrint(" ");\
for (__i = 0; __i < 6; __i++)\
DbgPrint("%02X%s", __ptr[__i], (__i == 5) ? "" : "-");\
DbgPrint("\n");\
} \
} while (0)
#else #else
#define ODM_dbg_enter() do {} while (0) #define ODM_dbg_enter() do {} while (0)
#define ODM_dbg_exit() do {} while (0) #define ODM_dbg_exit() do {} while (0)
#define ODM_dbg_trace(str) no_printk("%s", str) #define ODM_dbg_trace(str) no_printk("%s", str)
#define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr) \
no_printk("%s %p", title_str, ptr)
#endif #endif
void ODM_InitDebugSetting(struct dm_odm_t *pDM_Odm); void ODM_InitDebugSetting(struct dm_odm_t *pDM_Odm);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment