summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingying Tang <yintang@codeaurora.org>2016-09-27 14:18:26 +0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-09 18:52:22 -0800
commite7fc03865b69f0f8570bdcbfc35dda5c1cbd25b3 (patch)
treeeee2e4b46b1712bd9286786264af0b04c3de613a
parent590815e8b31fc6c5acf9898403c546c822d78e80 (diff)
qcacld-3.0: Remove the unnecessary compiler marco
Propagate from qcacld-2.0 to qcacld-3.0 In WLANSAP_ScanCallback(), the local variable event is contained in a unnecessary compiler marco. Remove it to avoid some compilation error risk. Change-Id: Ia3249c464f909896af5f242510742c68ad02cc5a CRs-Fixed: 979671
-rw-r--r--core/sap/src/sap_api_link_cntl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/sap/src/sap_api_link_cntl.c b/core/sap/src/sap_api_link_cntl.c
index 9a62d3413c55..6bf5679ff13b 100644
--- a/core/sap/src/sap_api_link_cntl.c
+++ b/core/sap/src/sap_api_link_cntl.c
@@ -106,10 +106,8 @@ QDF_STATUS wlansap_scan_callback(tHalHandle hal_handle,
tWLAN_SAPEvent sapEvent; /* State machine event */
uint8_t operChannel = 0;
QDF_STATUS sap_sm_status;
-
-#ifdef SOFTAP_CHANNEL_RANGE
uint32_t event;
-#endif
+
if (NULL == hal_handle) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,