Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b7dce12 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by John W. Linville
Browse files

rtlwifi: Remove redundant if clause

parent 0bbc4ade
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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. */
	/* We only care about the path A for legacy. */
	if (rtlefuse->eeprom_version < 2) {
	if (rtlefuse->eeprom_version < 2) {
		pwrbase0 = pwrlevel[0] + (rtlefuse->legacy_httxpowerdiff & 0xf);
		pwrbase0 = pwrlevel[0] + (rtlefuse->legacy_httxpowerdiff & 0xf);
	} else if (rtlefuse->eeprom_version >= 2) {
	} else {
		legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff
		legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff
						[RF90_PATH_A][chnl - 1];
						[RF90_PATH_A][chnl - 1];