[PATCH 04/14] staging: r8188eu: remove ODM_RT_TRACE_F macro definition

From: Phillip Potter
Date: Fri Jul 30 2021 - 20:24:23 EST


Remove ODM_RT_TRACE_F macro definition from include/odm_debug.h, as
it is called from nowhere and is therefore superfluous.

Signed-off-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx>
---
drivers/staging/r8188eu/include/odm_debug.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/staging/r8188eu/include/odm_debug.h b/drivers/staging/r8188eu/include/odm_debug.h
index c11d8925952c..ef0d6b84b2d5 100644
--- a/drivers/staging/r8188eu/include/odm_debug.h
+++ b/drivers/staging/r8188eu/include/odm_debug.h
@@ -90,12 +90,6 @@
RT_PRINTK fmt; \
}

-#define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt) \
- if (((comp) & pDM_Odm->DebugComponents) && \
- (level <= pDM_Odm->DebugLevel)) { \
- RT_PRINTK fmt; \
- }
-
void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm);

#endif /* __ODM_DBG_H__ */
--
2.31.1