]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14c65ac3d3e80880cda39c876588987adeb21efa
tree535d751dbb103d58c7d31e1ef76a6c98004f6b68
parent358965517d26647b3ab5bf05bf11badd15549bde
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