rtlwifi: rtl8192c: Drop condition with no effect

As the "else if" and "else" branch body are identical the condition
has no effect. So drop the "else if" condition.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Saurav Girepunje 2019-10-29 00:21:30 +05:30 committed by Kalle Valo
parent baff8da6e1
commit cbbd7f9a5e
1 changed files with 0 additions and 2 deletions

View File

@ -1649,8 +1649,6 @@ static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte)
(rtlpriv->btcoexist.bt_rssi_state & (rtlpriv->btcoexist.bt_rssi_state &
BT_RSSI_STATE_SPECIAL_LOW)) { BT_RSSI_STATE_SPECIAL_LOW)) {
rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, 0xa0); rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, 0xa0);
} else if (rtlpriv->btcoexist.bt_service == BT_PAN) {
rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte);
} else { } else {
rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte); rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte);
} }