Skip to contentSkip to conversation

staging: rtl8723bs: remove unnecessary braces

PATCH In review Shivam Gupta 2 participants 2 messages May 7 – May 10 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: remove unnecessary braces

Remove unnecessary braces around a single statement block reported by checkpatch.

---
 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c +1 -2
index 58f6cf063498..f3195f6f7e57 100644
@@ -294,9 +294,8 @@ static u8 halbtc8723b2ant_ActionAlgorithm(struct btc_coexist *pBtCoexist)
 
 	pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn);
 
-	if (!pBtLinkInfo->bBtLinkExist) {
+	if (!pBtLinkInfo->bBtLinkExist)
 		return algorithm;
-	}
 
 	if (pBtLinkInfo->bScoExist)
 		numOfDiffProfile++;
Signature · 1 line
2.34.1