]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: btcoex: remove identical statements within if-else branches
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 9 Apr 2018 07:51:31 +0000 (15:51 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 17:26:31 +0000 (20:26 +0300)
commitc377d0e1c96548cb6be830cdc1f914df5b815532
tree9bab11162a3c75bf452a593c8ef5f62db47c112d
parente55022fb715643c2a3384433c12c9f2be29c5aa7
rtlwifi: btcoex: remove identical statements within if-else branches

Since the statements are identical, we can safely remove the statements.
The commit 6d1655286ad2 ("rtlwifi: btcoexist: Fix if == else warnings in
halbtc8821a1ant.c") had fixed the statements, but the commit cb11d345c426
("rtlwifi: btcoex: follow linux coding style") that converted coding style
and upgraded btcoex didn't include the fix.

Reported-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c