staging: r8188eu: remove MSG_88E macro
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 6 Nov 2021 23:16:36 +0000 (23:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:02:03 +0000 (10:02 +0100)
Remove MSG_88E macro from include/rtw_debug.h, as it no longer has any
callers within the driver.

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

index 0a77e3e..39b69b9 100644 (file)
@@ -66,10 +66,4 @@ extern u32 GlobalDebugLevel;
                        pr_info(DRIVER_PREFIX __VA_ARGS__);             \
        } while (0)
 
-#define MSG_88E(...)                                                   \
-       do {                                                            \
-               if (_drv_err_ <= GlobalDebugLevel)                      \
-                       pr_info(DRIVER_PREFIX __VA_ARGS__);                     \
-       } while (0)
-
 #endif /* __RTW_DEBUG_H__ */