staging: r8188eu: remove the RT_TRACE macro
authorMartin Kaiser <martin@kaiser.cx>
Sat, 7 Aug 2021 15:36:36 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Aug 2021 10:14:20 +0000 (12:14 +0200)
We've deleted all RT_TRACE calls. The macro itself can now be removed
as well.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210807153636.11712-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_debug.h

index 83c71275c47bbcc7c6f031df9af7b8c4451a6095..3c3bf2a4f30eba66174463623e4f016bd62b4d5c 100644 (file)
@@ -72,15 +72,6 @@ extern u32 GlobalDebugLevel;
                        pr_info(DRIVER_PREFIX __VA_ARGS__);                     \
        } while (0)
 
-#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)
-
 int proc_get_drv_version(char *page, char **start,
                         off_t offset, int count,
                         int *eof, void *data);