staging: rtl8723bs: remove unnecessary braces
PATCH 1/1 staging: rtl8723bs: remove unnecessary braces
Remove unnecessary braces to obey Linux coding style and also fix the following checkpatch issue:
WARNING: braces {} are not necessary for any arm of this statement
Signed-off-by Zeynep Dicle <[email protected]>
--- drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c +2 -4
@@ -125,9 +125,8 @@ void odm_ConfigBB_PHY_REG_PG_8723B( {if (Addr ==0xfe || Addr ==0xffe )msleep (50 ); -else { +else PHY_StoreTxPowerByRate (pDM_Odm->Adapter, RfPath, Addr, Bitmask, Data); - } } void odm_ConfigBB_PHY_8723B(
@@ -149,9 +148,8 @@ void odm_ConfigBB_PHY_8723B(udelay (5 ); else if (Addr == 0xf9) udelay(1); - else { + else PHY_SetBBReg(pDM_Odm->Adapter, Addr, Bitmask, Data); - }/* Add 1us delay between BB/RF register setting. */ udelay (1 );
Signature · 1 line
2.43.0
Quoted 7 lines · Zeynep Dicle
Remove unnecessary braces to obey Linux coding style and also fix the following checkpatch issue:
WARNING: braces {} are not necessary for any arm of this statement
Signed-off-by Zeynep Dicle <[email protected]>---
LGTM.
Reviewed-by Ethan Tidmore <[email protected]>
Thanks,
ET