[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231013002944.14607-1-edson.drosdeck@gmail.com>
Date: Thu, 12 Oct 2023 21:29:44 -0300
From: Edson Juliano Drosdeck <edson.drosdeck@...il.com>
To: gregkh@...uxfoundation.org
Cc: hdegoede@...hat.com, Larry.Finger@...inger.net,
ruanjinjie@...wei.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, edson.drosdeck@...il.com
Subject: [PATCH] staging: rtl8723bs: Remove unnecessary bracks
Warning found by checkpatch.pl script.Remove bracks than are not necessary for
a single statement blocks in hal/odm.c
Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@...il.com>
---
drivers/staging/rtl8723bs/hal/odm.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index ea3b4cd32360..b1397990680f 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,8 @@ 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.39.2
Powered by blists - more mailing lists