mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
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: Santha Meena Ramamoorthy <santhameena13@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c51afd2d87
commit
537da51278
1 changed files with 2 additions and 6 deletions
|
@ -2885,12 +2885,8 @@ static void halbtc8822b2ant_action_a2dp(struct btc_coexist *btcoexist)
|
||||||
NORMAL_EXEC, 5);
|
NORMAL_EXEC, 5);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (wifi_turbo)
|
halbtc8822b2ant_coex_table_with_type(btcoexist,
|
||||||
halbtc8822b2ant_coex_table_with_type(
|
NORMAL_EXEC, 10);
|
||||||
btcoexist, NORMAL_EXEC, 10);
|
|
||||||
else
|
|
||||||
halbtc8822b2ant_coex_table_with_type(
|
|
||||||
btcoexist, NORMAL_EXEC, 10);
|
|
||||||
|
|
||||||
halbtc8822b2ant_ps_tdma(btcoexist, NORMAL_EXEC, true,
|
halbtc8822b2ant_ps_tdma(btcoexist, NORMAL_EXEC, true,
|
||||||
109);
|
109);
|
||||||
|
|
Loading…
Reference in a new issue