Skip to contentSkip to conversation

staging: rtl8188eu: remove unnecessary braces from if/else

PATCH New Hugo Lange 1 participant 1 message Mar 3, 2019 Staging

lore
Share & tools
lore

Hugo Lange

author
#0 lore raw

PATCH 1/1 staging: rtl8188eu: remove unnecessary braces from if/else

Removed unnecessary braces for single blocks.

---
 drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8188eu/hal/odm_hwconfig.c +3 -3
index 7ae476ffcd8c..149b0009ad66 100644
@@ -394,11 +394,11 @@ static void ODM_PhyStatusQuery_92CSeries(struct odm_dm_struct *dm_odm,
 {
 	odm_RxPhyStatus92CSeries_Parsing(dm_odm, pPhyInfo, pPhyStatus,
 					 pPktinfo);
-	if (dm_odm->RSSI_test) {
+	if (dm_odm->RSSI_test)
 		;/*  Select the packets to do RSSI checking for antenna switching. */
-	} else {
+	else
 		odm_Process_RSSIForDM(dm_odm, pPhyInfo, pPktinfo);
-	}
+
 }
 
 void ODM_PhyStatusQuery(struct odm_dm_struct *dm_odm,
Signature · 1 line
2.11.0