summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishka Dasgupta <nishka.dasgupta@yahoo.com>2019-03-30 22:16:07 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-30 19:58:20 +0100
commitb60080197af4a78ef0563c90cfca1074034def55 (patch)
tree13651fad472b6ba63b93266ce69ef7d8acc2c1b6
parent7997c3670126ccf57325676d2ba0c49cb0993e77 (diff)
staging: rtlwifi: phydm: Remove parentheses
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>
-rw-r--r--drivers/staging/rtlwifi/phydm/phydm_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtlwifi/phydm/phydm_debug.c b/drivers/staging/rtlwifi/phydm/phydm_debug.c
index 91f2c054d83b..a113e2b63153 100644
--- a/drivers/staging/rtlwifi/phydm/phydm_debug.c
+++ b/drivers/staging/rtlwifi/phydm/phydm_debug.c
@@ -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)