Commit 83543d32 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Greg Kroah-Hartman

drivers/staging/rtl8821ae/rtl8821ae: Remove dead code

This is all #if 0'ed out, and it contains some rather weird stuff
(post-increment of a bool, for example). Nuke it.
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5aa8b9ae
...@@ -1706,20 +1706,6 @@ void rtl8821ae_dm_bt_inq_page_monitor(struct ieee80211_hw *hw) ...@@ -1706,20 +1706,6 @@ void rtl8821ae_dm_bt_inq_page_monitor(struct ieee80211_hw *hw)
rtlpcipriv->btcoexist.current_state &=~ BT_COEX_STATE_BT_INQ_PAGE; rtlpcipriv->btcoexist.current_state &=~ BT_COEX_STATE_BT_INQ_PAGE;
} }
} }
#if 0
if (hal_coex_8821ae.b_c2h_bt_inquiry_page) {
hal_coex_8821ae.b_c2h_bt_inquiry_page++;
// bt inquiry or page is started.
} if(hal_coex_8821ae.b_c2h_bt_inquiry_page) {
rtlpcipriv->btcoexist.current_state |= BT_COEX_STATE_BT_INQ_PAGE;
if(hal_coex_8821ae.bt_inquiry_page_cnt >= 4)
hal_coex_8821ae.bt_inquiry_page_cnt = 0;
hal_coex_8821ae.bt_inquiry_page_cnt++;
} else {
rtlpcipriv->btcoexist.current_state &=~ BT_COEX_STATE_BT_INQ_PAGE;
}
#endif
} }
void rtl8821ae_dm_bt_reset_action_profile_state(struct ieee80211_hw *hw) void rtl8821ae_dm_bt_reset_action_profile_state(struct ieee80211_hw *hw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment