aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/include/odm_debug.h
diff options
context:
space:
mode:
authorMahati Chamarthy <mahati.chamarthy@gmail.com>2014-10-06 22:07:17 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:29:12 +0800
commit0b7d9bc2a44908363dfaf119b2538e839aab45c0 (patch)
tree5c07fec31254fb569d132f6dfaf7308adff9c1e9 /drivers/staging/rtl8188eu/include/odm_debug.h
parentstaging: rtl8188eu: core: Replace "the the " with "the" (diff)
downloadlinux-dev-0b7d9bc2a44908363dfaf119b2538e839aab45c0.tar.xz
linux-dev-0b7d9bc2a44908363dfaf119b2538e839aab45c0.zip
Staging: rtl8188eu: include: Remove unused macros
This patch removes macros that are never used. Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/odm_debug.h')
-rw-r--r--drivers/staging/rtl8188eu/include/odm_debug.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/staging/rtl8188eu/include/odm_debug.h b/drivers/staging/rtl8188eu/include/odm_debug.h
index 6bc905756d1e..914f831a5b77 100644
--- a/drivers/staging/rtl8188eu/include/odm_debug.h
+++ b/drivers/staging/rtl8188eu/include/odm_debug.h
@@ -97,12 +97,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; \
- }
-
#define ODM_RT_ASSERT(pDM_Odm, expr, fmt) \
if (!(expr)) { \
pr_info("Assertion failed! %s at ......\n", #expr); \
@@ -111,22 +105,6 @@
RT_PRINTK fmt; \
ASSERT(false); \
}
-#define ODM_dbg_enter() { pr_info("==> %s\n", __func__); }
-#define ODM_dbg_exit() { pr_info("<== %s\n", __func__); }
-#define ODM_dbg_trace(str) { pr_info("%s:%s\n", __func__, str); }
-
-#define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr) \
- if (((comp) & pDM_Odm->DebugComponents) && \
- (level <= pDM_Odm->DebugLevel)) { \
- int __i; \
- u8 *__ptr = (u8 *)ptr; \
- pr_info("[ODM] "); \
- pr_info(title_str); \
- pr_info(" "); \
- for (__i = 0; __i < 6; __i++) \
- pr_info("%02X%s", __ptr[__i], (__i == 5)?"":"-");\
- pr_info("\n"); \
- }
void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm);