summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>2019-03-30 10:42:43 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-30 09:30:35 +0100
commit2beb8a8189a87969feda9ce7aeef0ab45c881ab8 (patch)
treea6facff5ac56d245769c0c8d768314674b73207f /drivers
parent74907e2d83fb9565664a47a90b880ccecd0c8a87 (diff)
staging: rtl8723bs: hal: odm_HWConfig.c: Remove unnecessary parentheses
Challenge suggested by coccinelle. Remove unnecessary parentheses around an expression, add spaces around operator and remove trailing space. Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8723bs/hal/odm_HWConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
index ee2c293e4f59..d802a1fde58f 100644
--- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
+++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
@@ -19,7 +19,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower)
else if (AntPower >= 0)
return 100;
else
- return (100+AntPower);
+ return 100 + AntPower;
}