From 6211cb6b564ee9c5ae0b7647f3e3fa8bb92af36b Mon Sep 17 00:00:00 2001 From: wadesong Date: Sat, 15 Jul 2017 10:47:09 +0800 Subject: [PATCH] qcacmn: Fix build errors generated by gcc 6 Gcc 6 introduces some stricter checking for bool value comparison, causing build errors when a certain code block in CLD3.x driver is compiled. Change-Id: I270e20dab8410f45e734c15d5365e30e314b55c8 CRs-Fixed: 2051383 --- utils/fwlog/dbglog_host.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils/fwlog/dbglog_host.c b/utils/fwlog/dbglog_host.c index e35c9a50f237..3d901c748887 100644 --- a/utils/fwlog/dbglog_host.c +++ b/utils/fwlog/dbglog_host.c @@ -1359,13 +1359,6 @@ int dbglog_report_enable(wmi_unified_t wmi_handle, bool isenable) { int bitmap[2] = { 0 }; - if (isenable > true) { - AR_DEBUG_PRINTF(ATH_DEBUG_ERR, - ("dbglog_report_enable:Invalid value %d\n", - isenable)); - return -EINVAL; - } - if (isenable) { /* set the vap enable bitmap */ dbglog_set_vap_enable_bitmap(wmi_handle, 0xFFFF);