brcmsmac: Remove extra parentheses
authorVarsha Rao <rvarsha016@gmail.com>
Wed, 25 Jul 2018 18:56:22 +0000 (20:56 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 31 Aug 2018 15:41:27 +0000 (18:41 +0300)
Remove the unnecessary parentheses to fix the clang warning of
extraneous parentheses.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c

index bedec1606caa40010f51c74c421fd9c5eaa8246a..a57f2711f3c02296885ef6494414ef5b099becde 100644 (file)
@@ -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);