]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtlwifi: phydm: Remove parentheses
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>
Sat, 30 Mar 2019 16:46:07 +0000 (22:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2019 18:58:20 +0000 (19:58 +0100)
Remove parentheses on right hand side of expression. Issue found with
Coccinelle.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/phydm/phydm_debug.c

index 91f2c054d83b23c9b5ec12e7de5c4515bcfcb7fe..a113e2b631537041a49b75e6f7ed647f660199e6 100644 (file)
@@ -51,20 +51,20 @@ static inline void phydm_check_dmval_txagc(struct phy_dm_struct *dm, u32 used,
                                      (power_index << 16) | (power_index << 8) |
                                      (power_index);
                        for (i = 0; i < ODM_RATEVHTSS2MCS9; i += 4)
-                               status = (status &
+                               status = status &
                                          phydm_api_set_txagc(
                                                  dm, power_index,
                                                  (enum odm_rf_radio_path)
                                                          dm_value[1],
-                                                 i, false));
+                                                 i, false);
                } else if (dm->support_ic_type & ODM_RTL8197F) {
                        for (i = 0; i <= ODM_RATEMCS15; i++)
-                               status = (status &
-                                         phydm_api_set_txagc(
+                               status = status &
+                                        phydm_api_set_txagc(
                                                  dm, power_index,
                                                  (enum odm_rf_radio_path)
                                                          dm_value[1],
-                                                 i, false));
+                                                 i, false);
                }
 
                if (status)