From: Andrei Khomenkov Date: Mon, 27 Apr 2026 17:58:43 +0000 (+0300) Subject: staging: rtl8723bs: remove redundant braces for single-statement block X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=866fb5a3ac41fbcc8e250981c0a28a293c850d2b;p=thirdparty%2Flinux.git staging: rtl8723bs: remove redundant braces for single-statement block Remove redundant curly braces for single-statement block to improve code readability and conform to the Linux kernel coding style. This fixes the BRACES issue identified by checkpatch.pl. Signed-off-by: Andrei Khomenkov Link: https://patch.msgid.link/20260427175846.23470-6-khomenkov@mailbox.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c index b01e9016e30c..b4f872f4d6c9 100644 --- a/drivers/staging/rtl8723bs/hal/odm.c +++ b/drivers/staging/rtl8723bs/hal/odm.c @@ -380,12 +380,9 @@ static void FindMinimumRSSI(struct adapter *padapter) /* 1 1.Determine the minimum RSSI */ - if ( - !pDM_Odm->bLinked && - (pdmpriv->EntryMinUndecoratedSmoothedPWDB == 0) - ) { + if (!pDM_Odm->bLinked && (pdmpriv->EntryMinUndecoratedSmoothedPWDB == 0)) pdmpriv->MinUndecoratedPWDBForDM = 0; - } else + else pdmpriv->MinUndecoratedPWDBForDM = pdmpriv->EntryMinUndecoratedSmoothedPWDB; }