Commit 2beb8a81 authored by Payal Kshirsagar's avatar Payal Kshirsagar Committed by Greg Kroah-Hartman

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: default avatarPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 74907e2d
...@@ -19,7 +19,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower) ...@@ -19,7 +19,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower)
else if (AntPower >= 0) else if (AntPower >= 0)
return 100; return 100;
else else
return (100+AntPower); return 100 + AntPower;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment