wifi: rtlwifi: btcoexist: fix conditions branches that are never executed
authorPeter Kosyh <pkosyh@yandex.ru>
Tue, 6 Dec 2022 10:49:19 +0000 (13:49 +0300)
committerKalle Valo <kvalo@kernel.org>
Thu, 8 Dec 2022 14:52:56 +0000 (16:52 +0200)
commite48c45318d3d38460c585dce6379ef77d65a069e
tree4eb8d9f682f453b1a9cb0b237387197381c58c30
parent49ebca0d9018ff3517b24972f6f2a9f3d0dc956f
wifi: rtlwifi: btcoexist: fix conditions branches that are never executed

Commit 40ca18823515 ("rtlwifi: btcoex: 23b 1ant: fine tune for wifi not
 connected") introduced never executed branches.

Compile test only.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Peter Kosyh <pkosyh@yandex.ru>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221206104919.739746-1-pkosyh@yandex.ru
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c