rtlwifi: Remove redundant if clause
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 27 Feb 2014 16:06:58 +0000 (17:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:39 +0000 (14:33 -0500)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192se/rf.c

index 92d38ab3c60e87861f992411e3774aeceed30f56..78a81c1e390bdd4052c64fd9cc4fe0a54b406aa8 100644 (file)
@@ -52,7 +52,7 @@ static void _rtl92s_get_powerbase(struct ieee80211_hw *hw, u8 *p_pwrlevel,
        /* We only care about the path A for legacy. */
        if (rtlefuse->eeprom_version < 2) {
                pwrbase0 = pwrlevel[0] + (rtlefuse->legacy_httxpowerdiff & 0xf);
-       } else if (rtlefuse->eeprom_version >= 2) {
+       } else {
                legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff
                                                [RF90_PATH_A][chnl - 1];