From: Fabio Aiuto Date: Sat, 10 Apr 2021 14:20:16 +0000 (+0200) Subject: staging: rtl8723bs: remove DBG_8192C macro definitions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7519f4f89692e2a312a990580278e97bb1a91609;p=linux.git staging: rtl8723bs: remove DBG_8192C macro definitions 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 Link: https://lore.kernel.org/r/e7259eeb5927d48a2920548b92dc507befa5e6af.1618064274.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 65e1d9bd7099a..7747e90bd1ccd 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -131,7 +131,6 @@ #define _MODULE_DEFINE_ _module_efuse_ #endif -#define DBG_8192C(x, ...) do {} while (0) #define DBG_871X_LEVEL(x, ...) do {} while (0) #undef _dbgdump @@ -193,15 +192,6 @@ #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);