staging: rtl8723bs: remove unused DBG_871X_LEVEL macro declarations

remove unused DBG_871X_LEVEL macro declarations.

DBG_871X_LEVEL macro wraps a raw printk call which is not
recommended in a device driver context, prefer using
netdev_*() log functions.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/ec371fd8a4e53b4730b45f0a1c9210106b2914f2.1618480688.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Aiuto 2021-04-15 12:07:23 +02:00 committed by Greg Kroah-Hartman
parent 98dc120895
commit 180b9f220a

View File

@ -131,8 +131,6 @@
#define _MODULE_DEFINE_ _module_efuse_
#endif
#define DBG_871X_LEVEL(x, ...) do {} while (0)
#undef _dbgdump
#ifndef _RTL871X_DEBUG_C_
@ -146,18 +144,6 @@
#if defined(_dbgdump)
/* with driver-defined prefix */
#undef DBG_871X_LEVEL
#define DBG_871X_LEVEL(level, fmt, arg...) \
do {\
if (level <= GlobalDebugLevel) {\
if (level <= _drv_err_ && level > _drv_always_) \
_dbgdump(DRIVER_PREFIX"ERROR " fmt, ##arg);\
else \
_dbgdump(DRIVER_PREFIX fmt, ##arg);\
} \
} while (0)
/* without driver-defined prefix */
#undef _DBG_871X_LEVEL
#define _DBG_871X_LEVEL(level, fmt, arg...) \