From: Fabio Aiuto Date: Fri, 9 Apr 2021 12:40:03 +0000 (+0200) Subject: staging: rtl8723bs: remove MSG_8192C macro definitions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d55c46f360279862d62dc03b8de3104e2786f026;p=linux.git staging: rtl8723bs: remove MSG_8192C macro definitions remove obsolete MSG_8192C macro definitions. MSG_8192C is a private trace mechanism macro and is deactivated. (i.e. the default behaviour is _do nothing_) The only way to activate it is to manually define a debug symbol. So just remove it. Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/97f38f269e8dabb3dd7464d49022a62cd9773657.1617971593.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 4c159c1a0747a..65e1d9bd7099a 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 MSG_8192C(x, ...) do {} while (0) #define DBG_8192C(x, ...) do {} while (0) #define DBG_871X_LEVEL(x, ...) do {} while (0) @@ -196,11 +195,6 @@ #ifdef DEBUG #if defined(_dbgdump) - #undef MSG_8192C - #define MSG_8192C(...) do {\ - _dbgdump(DRIVER_PREFIX __VA_ARGS__);\ - } while (0) - #undef DBG_8192C #define DBG_8192C(...) do {\ _dbgdump(DRIVER_PREFIX __VA_ARGS__);\