staging: rtl8723bs: remove MSG_8192C macro definitions
authorFabio Aiuto <fabioaiuto83@gmail.com>
Fri, 9 Apr 2021 12:40:03 +0000 (14:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Apr 2021 14:19:51 +0000 (16:19 +0200)
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 <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/97f38f269e8dabb3dd7464d49022a62cd9773657.1617971593.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_debug.h

index 4c159c1..65e1d9b 100644 (file)
        #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)
 
 
 #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__);\