summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrunal Soni <ksoni@qca.qualcomm.com>2014-10-06 15:14:00 -0700
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2014-10-13 20:32:19 +0530
commit3446564351dc25684fa28623e4e20cd5aedc5a2f (patch)
treea862d6f39a8a51d53eb29cc9be6926acfbef62a0
parent647cc08e1becaa03de67fb8d31376145f997bfdf (diff)
qcacld: Remove un-used code under macro ANI_DVT_DEBUG
This code is coming from older generations of project which is no longer useful in next generation of projects. Code under following macros is removed ANI_DVT_DEBUG Change-Id: Id8de7441405b196d3f2879b32152274961c2767f CRs-Fixed: 734825
-rw-r--r--CORE/MAC/inc/aniGlobal.h6
-rw-r--r--CORE/MAC/src/pe/lim/limProcessMessageQueue.c3
-rw-r--r--CORE/MAC/src/pe/lim/limSendManagementFrames.c3
-rw-r--r--CORE/WDA/inc/legacy/halMsgApi.h6
4 files changed, 0 insertions, 18 deletions
diff --git a/CORE/MAC/inc/aniGlobal.h b/CORE/MAC/inc/aniGlobal.h
index 03aa9ef825c2..aff59d5682f4 100644
--- a/CORE/MAC/inc/aniGlobal.h
+++ b/CORE/MAC/inc/aniGlobal.h
@@ -95,9 +95,6 @@ typedef struct sAniSirGlobal *tpAniSirGlobal;
#include <limFTDefs.h>
#endif
-#ifdef ANI_DVT_DEBUG
-#include "dvtModule.h"
-#endif
// New HAL API interface defs.
#include "logDump.h"
@@ -985,9 +982,6 @@ typedef struct sAniSirGlobal
/* PAL/HDD handle */
tHddHandle hHdd;
-#ifdef ANI_DVT_DEBUG
- tAniSirDvt dvt;
-#endif
tSmeStruct sme;
tSapStruct sap;
diff --git a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
index 64c3606e145b..d474b5b6d5d5 100644
--- a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
+++ b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
@@ -1115,9 +1115,6 @@ limProcessMessages(tpAniSirGlobal pMac, tpSirMsgQ limMsg)
#if defined WLAN_FEATURE_VOWIFI_11R
tpPESession pSession;
#endif
-#if defined(ANI_DVT_DEBUG)
- tSirMsgQ msgQ;
-#endif
if(pMac->gDriverType == eDRIVER_TYPE_MFG)
{
vos_mem_free(limMsg->bodyptr);
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
index 77b4f1b8b040..85d0828434d4 100644
--- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c
+++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c
@@ -398,9 +398,6 @@ limSendProbeReqMgmtFrame(tpAniSirGlobal pMac,
return eSIR_FAILURE;
#endif
-#if defined ( ANI_DVT_DEBUG )
- return eSIR_FAILURE;
-#endif
/* The probe req should not send 11ac capabilieties if band is 2.4GHz,
* unless enableVhtFor24GHz is enabled in INI. So if enableVhtFor24GHz
diff --git a/CORE/WDA/inc/legacy/halMsgApi.h b/CORE/WDA/inc/legacy/halMsgApi.h
index ab41711232fb..963da5e9ffed 100644
--- a/CORE/WDA/inc/legacy/halMsgApi.h
+++ b/CORE/WDA/inc/legacy/halMsgApi.h
@@ -179,12 +179,6 @@ typedef struct
tANI_U8 delBASupport;
// delayed ba support... TBD
-#ifdef ANI_DVT_DEBUG
- //These 6 fields are used only by DVT driver to pass selected
- //rates to Softmac through HAL.
- tANI_U8 primaryRateIndex, secondaryRateIndex, tertiaryRateIndex;
- tANI_U8 primaryRateIndex40, secondaryRateIndex40, tertiaryRateIndex40;
-#endif
// FIXME
//Add these fields to message