qcacld-3.0: clang: Remove extraneous parentheses

clang is reporting these compiler warnings.
Remove extraneous parentheses.

Change-Id: I3dd6490cc1bf2a038e72e1630ba9b0c2b5f0ebed
CRs-Fixed: 2087229
This commit is contained in:
Srinivas Girigowda
2017-08-03 11:28:32 -07:00
committed by snandini
parent 0cd4be2953
commit f326dfe224
8 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002-2014 The Linux Foundation. All rights reserved.
* Copyright (c) 2002-2014, 2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -458,7 +458,7 @@ dfs_bin_pri_check(struct ath_dfs *dfs, struct dfs_filter *rf,
}
if (primatch && (deltadur < durmargin)) {
if ((numpulses == 1)) {
if (numpulses == 1) {
numpulses++;
} else {
delta_time_stamps =

View File

@@ -4110,8 +4110,8 @@ static QDF_STATUS sap_get_channel_list(ptSapContext sap_ctx,
#ifdef FEATURE_WLAN_CH_AVOID
for (i = 0; i < NUM_CHANNELS; i++) {
if ((safe_channels[i].channelNumber ==
WLAN_REG_CH_NUM(loop_count))) {
if (safe_channels[i].channelNumber ==
WLAN_REG_CH_NUM(loop_count)) {
/* Check if channel is safe */
if (true == safe_channels[i].isSafe) {
#endif