]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Remove unnecessary parentheses.
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Wed, 27 Mar 2019 16:39:30 +0000 (22:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2019 16:10:18 +0000 (17:10 +0100)
commit4e10a4a2a0d3d6e1478bd912b9a2f86597b17d20
treeb04b3eb015109424b30cfb9740c937e6cfc2f4fc
parent176abff6e7e3b3e13227afe24c5affe1d7f70b91
staging: rtl8192e: Remove unnecessary parentheses.

Challenge suggested by coccinelle.
Remove unnecessary parentheses around the right hand of
assignment using the below script.

@@
local idexpression id;
expression e;
@@

id =
-(
e
-)

@@ expression e, e1, e2,e3,e4; @@
e =
-(((e1) & (e2)) |
-(e3 << e4))
+(e1 & e2) |
+(e3 << e4)

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c