mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
Staging: rtl8723bs: hal: odm: removed unnecessary braces
Removed unnecessary braces. Signed-off-by: Michael Harris <michaelharriscode@gmail.com> Link: https://lore.kernel.org/r/20240928025336.55940-1-michaelharriscode@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
764ddf1855
commit
acc5515c7e
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user