mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 04:21:36 -04:00
rtlwifi: Remove redundant if clause
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
0bbc4adebd
commit
6b7dce12b3
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user