staging: rtl8723bs: remove DBG_8192C macro definitions
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 10 Apr 2021 14:20:16 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Apr 2021 06:45:02 +0000 (08:45 +0200)
remove all DBG_8192C macro definitions.

Macro DBG_8192C belongs to a family of verbose
private tracing macros.

The default behaviour is _do nothing_, to activate
it one should define DEBUG symbol by hand.

So just remove it

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/e7259eeb5927d48a2920548b92dc507befa5e6af.1618064274.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_debug.h

index 65e1d9b..7747e90 100644 (file)
        #define _MODULE_DEFINE_ _module_efuse_
 #endif
 
-#define DBG_8192C(x, ...) do {} while (0)
 #define DBG_871X_LEVEL(x, ...) do {} while (0)
 
 #undef _dbgdump
 
 #endif /* defined(_dbgdump) */
 
-#ifdef DEBUG
-#if    defined(_dbgdump)
-       #undef DBG_8192C
-       #define DBG_8192C(...)     do {\
-               _dbgdump(DRIVER_PREFIX __VA_ARGS__);\
-       } while (0)
-#endif /* defined(_dbgdump) */
-#endif /* DEBUG */
-
 void dump_drv_version(void *sel);
 void dump_log_level(void *sel);