diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2021-06-08 13:21:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-09 14:26:20 +0200 |
commit | 978d7f0978ef74c8910cedecaa93b686b3a91bc0 (patch) | |
tree | 6724c41005e10cacc080e8736fea94d472f6b803 /drivers/staging | |
parent | staging: rtl8188eu: remove unused function parameter (diff) | |
download | linux-dev-978d7f0978ef74c8910cedecaa93b686b3a91bc0.tar.xz linux-dev-978d7f0978ef74c8910cedecaa93b686b3a91bc0.zip |
staging: rtl8723bs: hal: Delete tests with no effects
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c index 6822990bca7f..3829701f10f9 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c +++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c @@ -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 ( |