rtlwifi: btcoex: 21a 2ant: Delete several duplicate condition branch codes
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 08:22:37 +0000 (16:22 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 15 Jun 2021 13:38:05 +0000 (16:38 +0300)
commitd56b69c4fbc7fc85d1a232967ff72c99c3ea2b95
tree535d751dbb103d58c7d31e1ef76a6c98004f6b68
parent29ca9e6ca5a5f850829c53557bf18912e56da6c9
rtlwifi: btcoex: 21a 2ant: Delete several duplicate condition branch codes

The statements of the "if (max_interval == 3)" branch are the same as
those of the "else" branch. Delete them to simplify the code.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210510082237.3315-1-thunder.leizhen@huawei.com
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c