Commit 978d7f09 authored by Fabio M. De Francesco's avatar Fabio M. De Francesco Committed by Greg Kroah-Hartman
Browse files

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 8e30fb99.

Signed-off-by: default avatarFabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210608112118.1213-1-fmdefrancesco@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f0516d2e
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -410,21 +410,13 @@ 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;
				}
			} 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;
			}
			}
		} else {
			if (
				pBtLinkInfo->bHidExist &&