]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: checkpatch fixes: unnecessary parentheses removed in hal/bb_cfg.c
authorIvan Safonov <insafonov@gmail.com>
Tue, 27 Oct 2015 15:27:26 +0000 (22:27 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2015 00:09:08 +0000 (09:09 +0900)
This is checkpatch fixes for hal/bb_cfg.c file:
unnecessary parentheses around <expr>.

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

index 6042c1a10bd68a3ecde4140b280a4a96de42c8b8..167b6a05d52d4e94be75e9646dbb7c3f70e28227 100644 (file)
@@ -594,10 +594,10 @@ static void rtl88e_phy_init_bb_rf_register_definition(struct adapter *Adapter)
        struct hal_data_8188e           *hal_data = GET_HAL_DATA(Adapter);
        struct bb_reg_def               *reg[4];
 
-       reg[RF_PATH_A] = &(hal_data->PHYRegDef[RF_PATH_A]);
-       reg[RF_PATH_B] = &(hal_data->PHYRegDef[RF_PATH_B]);
-       reg[RF_PATH_C] = &(hal_data->PHYRegDef[RF_PATH_C]);
-       reg[RF_PATH_D] = &(hal_data->PHYRegDef[RF_PATH_D]);
+       reg[RF_PATH_A] = &hal_data->PHYRegDef[RF_PATH_A];
+       reg[RF_PATH_B] = &hal_data->PHYRegDef[RF_PATH_B];
+       reg[RF_PATH_C] = &hal_data->PHYRegDef[RF_PATH_C];
+       reg[RF_PATH_D] = &hal_data->PHYRegDef[RF_PATH_D];
 
        reg[RF_PATH_A]->rfintfs = rFPGA0_XAB_RFInterfaceSW;
        reg[RF_PATH_B]->rfintfs = rFPGA0_XAB_RFInterfaceSW;