staging: r8188eu: remove ODM_PRINT_ADDR macro definition
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 31 Jul 2021 00:39:24 +0000 (01:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Jul 2021 07:21:42 +0000 (09:21 +0200)
Remove ODM_PRINT_ADDR macro definition from include/odm_debug.h, as
it is called from nowhere and is therefore superfluous.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210731003937.68615-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/odm_debug.h

index 171fc5cbf27c360c6f2ce07149527206b5f5f058..53ab6debb6f3b1b473ae7875702864e9616dda35 100644 (file)
 #define ODM_dbg_exit() { DbgPrint("<== %s\n", __func__); }
 #define ODM_dbg_trace(str) { DbgPrint("%s:%s\n", __func__, str); }
 
-#define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)           \
-       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");                                         \
-       }
-
 void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm);
 
 #endif /*  __ODM_DBG_H__ */