aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2021-06-25 01:07:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-25 09:03:51 +0200
commit85f1c72a1ef4dad7687d26cb9a66fdca6d3daf64 (patch)
treebe0bd19bec2027ce1d882acf8522ac9c842dacfe /drivers/staging/rtl8188eu
parentstaging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_recv.c (diff)
downloadlinux-dev-85f1c72a1ef4dad7687d26cb9a66fdca6d3daf64.tar.xz
linux-dev-85f1c72a1ef4dad7687d26cb9a66fdca6d3daf64.zip
staging: rtl8188eu: remove RT_TRACE macro
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>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_debug.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtw_debug.h b/drivers/staging/rtl8188eu/include/rtw_debug.h
index 72a18ec3ee32..88575c4a4633 100644
--- a/drivers/staging/rtl8188eu/include/rtw_debug.h
+++ b/drivers/staging/rtl8188eu/include/rtw_debug.h
@@ -58,13 +58,4 @@
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__ */