staging: rtl8723bs: hal: odm_HWConfig.c: Remove unnecessary parentheses
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Sat, 30 Mar 2019 05:12:43 +0000 (10:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2019 08:30:35 +0000 (09:30 +0100)
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>
drivers/staging/rtl8723bs/hal/odm_HWConfig.c

index ee2c293e4f59721106ad985b319ba54da088a659..d802a1fde58fd13c60e282643d2b825fed9c7bc7 100644 (file)
@@ -19,7 +19,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower)
        else if (AntPower >= 0)
                return  100;
        else
-               return  (100+AntPower);
+               return 100 + AntPower;
 
 }