staging: r8188eu: remove ODM_RT_TRACE_F macro definition
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 31 Jul 2021 00:39:27 +0000 (01:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Jul 2021 07:21:42 +0000 (09:21 +0200)
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@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210731003937.68615-5-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/odm_debug.h

index c11d892..ef0d6b8 100644 (file)
                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__ */