Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1125856imm; Wed, 25 Jul 2018 11:58:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeem6VMxKh4ldz0BcpzIQvYF0DK9w2qcOJPJckWJAV/IuTfsOrjfSEIXlXatyQ8m1ll72Ov X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr21896646plu.211.1532545080171; Wed, 25 Jul 2018 11:58:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532545080; cv=none; d=google.com; s=arc-20160816; b=U7W1TjRh0EqCfUu5iHDmToedqY0HDwxafsCSZRhj6oYiBbmAeJYoIu9H96i6VfDszk HT5dsxStuFnchYFnb9urAnsBCUH7y9XlR8x+2BiwRlFgTZyj9hVm5kMVFuyrQSu0EkKp ojtD4oiVe75BW9/Shdgmi1trTYnHMvvvAITMpDf0d7SbEaFZtX1S8xb62sROdJcB7BhA tVKPvpCgPYaIIL6gedlHa1XXVM5UPwRrnhiFR/3v+SBRVn6AH0l57deSzyk1CJiGlg9S X8iyKUQ/xzwBBFkBbUBECcddhhcjIGvZrP5nMy4B8/TL6pyQXhkxE2bpas8+LeQs+rBy S77g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=oJxrfVe1uDDH5M0hxVnH68FAhp+MBnBnp10Zrsvodyc=; b=YzjUnIjzTv89eRZRr8yUcakLCMI41no9slBwdt1YvgKjSe7O7F2cFDyFbWjjApYTu1 S+VaAs/XbjeTGAu01BXKZiUCitkHAXjRBWKbNSReMYIqMl3zJfoiauJczXALs+qdJsRA nctSLgN2PGF0UKFL9kQRpXjvVd6owLpKezMnG7qYUbnMyeTJnB/7gs610OEXneGpVjkg k5G9JEiiE3R/lDriDb/5+srVrv+bK8ULJWFBod6D1/XWLnflsoiWARfzsoA8t5sqh5Ya mnzyftLKVs7h1BuI7c1QznX7LhtQeRunjg81s99uPdppe6Xo6x9uSet/S999OkYWUJPy tP+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M5e7x0XS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e132-v6si14847650pfg.171.2018.07.25.11.57.45; Wed, 25 Jul 2018 11:58:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M5e7x0XS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730555AbeGYUJr (ORCPT + 99 others); Wed, 25 Jul 2018 16:09:47 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34672 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbeGYUJr (ORCPT ); Wed, 25 Jul 2018 16:09:47 -0400 Received: by mail-wr1-f68.google.com with SMTP id c13-v6so8379673wrt.1; Wed, 25 Jul 2018 11:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=oJxrfVe1uDDH5M0hxVnH68FAhp+MBnBnp10Zrsvodyc=; b=M5e7x0XSdxNqjnmN6LUMXooAsU8zhICc4RvskDgSRAeGhqgpveZtGpzzZcRewaGGh7 Xu3O1zr7cQdm/qDe+Jwl3uOIfHjEO+VEwheM0Edjzof9O+LPA7GZw+4GdoW9wMAueiUt h5ldmLRR1qAShaDjLwAHYd5Iu10Lv7EYPdsE2AITeG62jjmQ6Sy1gof9/rmsUpKuTs7B yCzNtzt2V0lb5CK7ElS3dRbB9Je/P8vv6GustaCWYJ72WuSMSaOtYNEfvIAfFsqVeo2v CWsgtc08YBaUqufdRvs5Q4ZP9UXEPY/mvON2IikeiHghJbDQd3NlrinQTEauMSURz9rl 2Ypg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oJxrfVe1uDDH5M0hxVnH68FAhp+MBnBnp10Zrsvodyc=; b=WGyEVUAFbAUeUHhGWhEcy9y4YQ3tZelTQ5FhKY72x185dszmGniUnMfp6rTQhsukIl o7qyqc1ISwOJBe2aSDSHmKKjBxbg02G8SYDU/NjnNaP27bFEiXHqmLqtQzvLUnEVCpQS tD1i/pbsAVwcrXHeTL5r+w9XXY7leQG8FbPOUotKz2mtCurrVYzTVmSYvtAgAuXfaskS FM6ahRZ7rMdpaThPkU8/BsgPeZsXfx7HCz3WBmcdyODP6cyy7toza79gqQxhtKcsGzlo jGIicthu2GaAie67tduFyjPmBkWw0WlCzm6G4qC3Msy9k/VaODZOwxoLF1uDlOKNtbhp 9pSQ== X-Gm-Message-State: AOUpUlH71ftnVcpuXktGWctw6W/2N/7SK+4Gsf1Sv6SxqPs8Z6kkpbj3 033qn09z3v4yQ6H7nFgLA64= X-Received: by 2002:adf:fc86:: with SMTP id g6-v6mr15061829wrr.216.1532545007954; Wed, 25 Jul 2018 11:56:47 -0700 (PDT) Received: from euri.wifirst.net (eth-west-pareq2-46-193-2-21.wb.wifirst.net. [46.193.2.21]) by smtp.googlemail.com with ESMTPSA id w8-v6sm14912243wrp.72.2018.07.25.11.56.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 11:56:47 -0700 (PDT) From: Varsha Rao To: Lukas Bulwahn , Nicholas Mc Guire , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , Kalle Valo , "David S. Miller" , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Varsha Rao Subject: [PATCH] net: wireless: brcmsmac: Remove extra parentheses Date: Wed, 25 Jul 2018 20:56:22 +0200 Message-Id: <20180725185625.4220-1-rvarsha016@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the unnecessary parentheses to fix the clang warning of extraneous parentheses. Signed-off-by: Varsha Rao --- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c index 1a187557982e..4deba3075083 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c @@ -25453,12 +25453,12 @@ void wlc_phy_cal_perical_nphy_run(struct brcms_phy *pi, u8 caltype) (pi->cal_type_override == PHY_PERICAL_FULL) ? true : false; - if ((pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT)) { + if (pi->mphase_cal_phase_id > MPHASE_CAL_STATE_INIT) { if (pi->nphy_txiqlocal_chanspec != pi->radio_chanspec) wlc_phy_cal_perical_mphase_restart(pi); } - if ((pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL)) + if (pi->mphase_cal_phase_id == MPHASE_CAL_STATE_RXCAL) wlapi_bmac_write_shm(pi->sh->physhim, M_CTS_DURATION, 10000); wlapi_suspend_mac_and_wait(pi->sh->physhim); -- 2.17.0