OSDN Git Service

staging: rtl8188eu: remove unnecessary braces from if/else
authorHugo Lange <hugolange7000@gmail.com>
Sun, 3 Mar 2019 20:24:39 +0000 (20:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:06:08 +0000 (07:06 +0100)
Removed unnecessary braces for single blocks.

Signed-off-by: Hugo Lange <hugolange7000@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_hwconfig.c

index 7ae476f..149b000 100644 (file)
@@ -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,