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
This commit is contained in:
Yingying Tang 2016-09-27 14:18:26 +08:00 • committed by qcabuildsw
commit e5f658e2e8

View file

@ -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,