From e575abcaa68cd8aa56be4fb0a94f31cc169afaf2 Mon Sep 17 00:00:00 2001 From: Jingxiang Ge Date: Fri, 5 Jul 2019 15:55:50 +0800 Subject: [PATCH] qcacmn: remove CONFIG_MCL in wlan_logging_set_fw_flush_complete This is to remove CONFIG_MCL in qcacmn code. This change cleans CONFIG_MCL in wlan_logging_set_fw_flush_complete. Change-Id: Ia417c90060b20b004b1e5408be654ff392a8113d CRs-Fixed: 2484838 --- utils/logging/src/wlan_logging_sock_svc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/utils/logging/src/wlan_logging_sock_svc.c b/utils/logging/src/wlan_logging_sock_svc.c index 514a81f185..1ebf937661 100644 --- a/utils/logging/src/wlan_logging_sock_svc.c +++ b/utils/logging/src/wlan_logging_sock_svc.c @@ -1107,11 +1107,7 @@ void wlan_logging_set_per_pkt_stats(void) */ void wlan_logging_set_fw_flush_complete(void) { - if (gwlan_logging.is_active == false -#ifdef CONFIG_MCL - || !cds_is_fatal_event_enabled() -#endif - ) + if (!gwlan_logging.is_active) return; set_bit(HOST_LOG_FW_FLUSH_COMPLETE, &gwlan_logging.eventFlag);