Commit 9ed13924 authored by Gary Bisson's avatar Gary Bisson
Browse files

Fix build when debug is disabled



Some macros don't properly the case if debug build is disabled.
This patch simply removes said macros to fix build.
Signed-off-by: default avatarGary Bisson <gary.bisson@boundarydevices.com>
parent c01dbdc9
......@@ -45,8 +45,6 @@
#include "aniGlobal.h"
#ifdef TRACE_RECORD
#define MAC_TRACE_GET_MODULE_ID(data) ((data >> 8) & 0xff)
#define MAC_TRACE_GET_MSG_ID(data) (data & 0xffff)
......@@ -81,5 +79,3 @@ tANI_U8* macTraceGetLimMlmState(tANI_U16 mlmState);
tANI_U8* macTraceGetTLState(tANI_U16 tlState);
#endif
#endif
......@@ -53,8 +53,6 @@
#include "vos_memory.h"
#include "vos_trace.h"
#ifdef TRACE_RECORD
/* ---------------------------------------------------------------------------
\fn macTraceGetHDDWlanConnState
\function to get string equivalent of a value
......@@ -978,4 +976,3 @@ tANI_U8* macTraceMsgString(tpAniSirGlobal pMac, tANI_U32 msgType)
return ((tANI_U8*)"Unknown MsgType");
}
}
#endif
......@@ -53,8 +53,6 @@
#include <a_debug.h>
#define FWLOG_DEBUG ATH_DEBUG_MAKE_MODULE_MASK(0)
#if defined(DEBUG)
static bool appstarted = FALSE;
static bool senddriverstatus = FALSE;
static bool kd_nl_init = FALSE;
......@@ -72,7 +70,6 @@ ATH_DEBUG_INSTANTIATE_MODULE_VAR(fwlog,
ATH_DEBUG_MASK_DEFAULTS | ATH_DEBUG_INFO | ATH_DEBUG_ERR,
ATH_DEBUG_DESCRIPTION_COUNT(g_fwlogDebugDescription),
g_fwlogDebugDescription);
#endif
module_dbg_print mod_print[WLAN_MODULE_ID_MAX];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment