From: Payal Kshirsagar Date: Sat, 30 Mar 2019 05:12:43 +0000 (+0530) Subject: staging: rtl8723bs: hal: odm_HWConfig.c: Remove unnecessary parentheses X-Git-Tag: v5.2-rc1~153^2~217 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=2beb8a8189a87969feda9ce7aeef0ab45c881ab8;p=linux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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; }