staging: r8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 29 Nov 2021 00:20:41 +0000 (00:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:50 +0000 (15:13 +0100)
Remove the DBG_88E_LEVEL macro definition from include/rtw_debug.h, as
it has no callers and is surplus to requirements. This is motivated by
ongoing efforts to remove all non-standard debugging code from the
driver.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20211129002041.865-8-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_debug.h

index 39b69b9..3110517 100644 (file)
 
 extern u32 GlobalDebugLevel;
 
-#define DBG_88E_LEVEL(_level, fmt, arg...)                             \
-       do {                                                            \
-               if (_level <= GlobalDebugLevel)                         \
-                       pr_info(DRIVER_PREFIX"INFO " fmt, ##arg);       \
-       } while (0)
-
 #define DBG_88E(...)                                                   \
        do {                                                            \
                if (_drv_err_ <= GlobalDebugLevel)                      \