]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
brcm80211: simplify assignment
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 18 May 2016 00:57:13 +0000 (02:57 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jun 2016 14:23:24 +0000 (17:23 +0300)
Simplify assignment in wlc_phy_rxcal_gainctrl_nphy_rev5.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c

index 99dac9b8a082c0bfcccf2769ef30585ea3af4e2d..b3aab2fe96eb79f751d46c0f309f33eb6042d025 100644 (file)
@@ -27017,7 +27017,7 @@ wlc_phy_rxcal_gainctrl_nphy_rev5(struct brcms_phy *pi, u8 rx_core,
                tx_core = 1 - rx_core;
 
        num_samps = 1024;
-       desired_log2_pwr = (cal_type == 0) ? 13 : 13;
+       desired_log2_pwr = 13;
 
        wlc_phy_rx_iq_coeffs_nphy(pi, 0, &save_comp);
        zero_comp.a0 = zero_comp.b0 = zero_comp.a1 = zero_comp.b1 = 0x0;