Commit 537da512 authored by Santha Meena Ramamoorthy's avatar Santha Meena Ramamoorthy Committed by Greg Kroah-Hartman

staging: rtlwifi: remove condition where it has no effect

Remove condition where if and else branch are identical.
Issue found using cond_no_effect.cocci Coccinelle script.
Signed-off-by: default avatarSantha Meena Ramamoorthy <santhameena13@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c51afd2d
......@@ -2885,12 +2885,8 @@ static void halbtc8822b2ant_action_a2dp(struct btc_coexist *btcoexist)
NORMAL_EXEC, 5);
} else {
if (wifi_turbo)
halbtc8822b2ant_coex_table_with_type(
btcoexist, NORMAL_EXEC, 10);
else
halbtc8822b2ant_coex_table_with_type(
btcoexist, NORMAL_EXEC, 10);
halbtc8822b2ant_coex_table_with_type(btcoexist,
NORMAL_EXEC, 10);
halbtc8822b2ant_ps_tdma(btcoexist, NORMAL_EXEC, true,
109);
......
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