staging: rtl8188eu: remove RT_TRACE macro
authorPhillip Potter <phil@philpotter.co.uk>
Fri, 25 Jun 2021 00:07:53 +0000 (01:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jun 2021 07:03:51 +0000 (09:03 +0200)
Remove RT_TRACE macro from include/rtw_debug.h, as it now has no
callers, and does not follow best practices and kernel coding
conventions.

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

index 72a18ec..88575c4 100644 (file)
 
 extern u32 GlobalDebugLevel;
 
-#define RT_TRACE(_comp, _level, fmt)                                   \
-       do {                                                            \
-               if (_level <= GlobalDebugLevel) {                       \
-                       pr_info("%s [0x%08x,%d]", DRIVER_PREFIX,        \
-                                (unsigned int)_comp, _level);          \
-                       pr_info fmt;                                    \
-               }                                                       \
-       } while (0)
-
 #endif /* __RTW_DEBUG_H__ */