[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240928025336.55940-1-michaelharriscode@gmail.com>
Date: Fri, 27 Sep 2024 19:53:36 -0700
From: Michael Harris <michaelharriscode@...il.com>
To: gregkh@...uxfoundation.com
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH] Staging: rtl8723bs: hal: odm: removed unnecessary braces
Removed unnecessary braces.
Signed-off-by: Michael Harris <michaelharriscode@...il.com>
---
drivers/staging/rtl8723bs/hal/odm.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index ea3b4cd32360..5b5a2efbe5a3 100644
--- a/drivers/staging/rtl8723bs/hal/odm.c
+++ b/drivers/staging/rtl8723bs/hal/odm.c
@@ -417,13 +417,11 @@ static void odm_RefreshRateAdaptiveMaskCE(struct dm_odm_t *pDM_Odm)
u8 i;
struct adapter *padapter = pDM_Odm->Adapter;
- if (padapter->bDriverStopped) {
+ if (padapter->bDriverStopped)
return;
- }
- if (!pDM_Odm->bUseRAMask) {
+ if (!pDM_Odm->bUseRAMask)
return;
- }
for (i = 0; i < ODM_ASSOCIATE_ENTRY_NUM; i++) {
PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i];
@@ -461,9 +459,9 @@ static void odm_RefreshRateAdaptiveMaskCE(struct dm_odm_t *pDM_Odm)
static void odm_RefreshRateAdaptiveMask(struct dm_odm_t *pDM_Odm)
{
- if (!(pDM_Odm->SupportAbility & ODM_BB_RA_MASK)) {
+ if (!(pDM_Odm->SupportAbility & ODM_BB_RA_MASK))
return;
- }
+
odm_RefreshRateAdaptiveMaskCE(pDM_Odm);
}
--
2.46.1
Powered by blists - more mailing lists