]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: remove unnecessary braces
authorShivam Gupta <shivgupta751157@gmail.com>
Thu, 7 May 2026 17:52:18 +0000 (23:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 08:05:39 +0000 (10:05 +0200)
Remove unnecessary braces around a single statement block
reported by checkpatch.

Signed-off-by: Shivam Gupta <shivgupta751157@gmail.com>
Reviewed-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260507175218.16831-1-shivgupta751157@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c

index 58f6cf063498ad909e1f7e064fcfd33395e1bdc5..f3195f6f7e57821ad208a6a56b112bd5a8c6156b 100644 (file)
@@ -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++;