staging: rtl8188eu: remove not necessary braces {} (checkpatch fix)
authorMartin Karamihov <martinowar@gmail.com>
Tue, 31 Jan 2017 19:24:56 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 12:01:36 +0000 (13:01 +0100)
This is checkpatch fix for hal/bb_cfg.c file:
remove not necessary braces {}

Signed-off-by: Martin Karamihov <martinowar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/bb_cfg.c

index 134fa6c595a8f3d7628d92ccf67b895069d7b32e..26e0ef22429944aff8528cfe23a13eb6cea986ea 100644 (file)
@@ -534,9 +534,8 @@ static void store_pwrindex_offset(struct adapter *adapter,
                power_level_offset[11] = data;
        if (regaddr == rTxAGC_B_Mcs11_Mcs08)
                power_level_offset[12] = data;
-       if (regaddr == rTxAGC_B_Mcs15_Mcs12) {
+       if (regaddr == rTxAGC_B_Mcs15_Mcs12)
                power_level_offset[13] = data;
-       }
 }
 
 static void rtl_addr_delay(struct adapter *adapt,