From: Heinrich Schuchardt Date: Thu, 27 Feb 2014 16:06:58 +0000 (+0100) Subject: rtlwifi: Remove redundant if clause X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b7dce12b3e810a107735ab9e701f2be4e75db29;p=openwrt%2Fstaging%2Fblogic.git rtlwifi: Remove redundant if clause Signed-off-by: Heinrich Schuchardt Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c index 92d38ab3c60e..78a81c1e390b 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/rf.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/rf.c @@ -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];