staging: rtl8723bs: hal: Delete tests with no effects
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Tue, 8 Jun 2021 11:21:18 +0000 (13:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:26:20 +0000 (14:26 +0200)
Deleted tests with no effects. Detected by Coccinelle.
It seems that these tests have been inadvertently
left while removing BTC_PRINT logs in commit 8e30fb99d729.

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210608112118.1213-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c

index 6822990bca7fc27a6b7a23159eb7a1699f757697..3829701f10f93ceee3210ceb808f02ff1b07c8f8 100644 (file)
@@ -410,20 +410,12 @@ static u8 halbtc8723b2ant_ActionAlgorithm(struct btc_coexist *pBtCoexist)
                                pBtLinkInfo->bHidExist &&
                                pBtLinkInfo->bPanExist
                        ) {
-                               if (bBtHsOn) {
-                                       algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
-                               } else {
-                                       algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
-                               }
+                               algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
                        } else if (
                                pBtLinkInfo->bPanExist &&
                                pBtLinkInfo->bA2dpExist
                        ) {
-                               if (bBtHsOn) {
-                                       algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
-                               } else {
-                                       algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
-                               }
+                               algorithm = BT_8723B_2ANT_COEX_ALGO_PANEDR_HID;
                        }
                } else {
                        if (