From patchwork Wed Jul 25 18:56:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varsha Rao X-Patchwork-Id: 10544573 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4ED951805 for ; Wed, 25 Jul 2018 18:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CA5B2A6E4 for ; Wed, 25 Jul 2018 18:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FF972AA93; Wed, 25 Jul 2018 18:56:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D13E92A6E4 for ; Wed, 25 Jul 2018 18:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730221AbeGYUJr (ORCPT ); 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-Google-Smtp-Source: AAOMgpeP6bEs334X1wkS5Nt/Qol6vIeWWDseyaJfDhAgRpjC9zufH0Y57tsyBCp4pb9wi9WUe90D4w== 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);