rtlwifi: rtl8192c: Drop condition with no effect
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Mon, 28 Oct 2019 18:51:30 +0000 (00:21 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Oct 2019 08:05:39 +0000 (10:05 +0200)
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>
drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c

index f2908ee..4bef237 100644 (file)
@@ -1649,8 +1649,6 @@ static void rtl92c_bt_ant_isolation(struct ieee80211_hw *hw, u8 tmp1byte)
                            (rtlpriv->btcoexist.bt_rssi_state &
                            BT_RSSI_STATE_SPECIAL_LOW)) {
                        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 {
                        rtl_write_byte(rtlpriv, REG_GPIO_MUXCFG, tmp1byte);
                }