]> git.karo-electronics.de Git - linux-beck.git/commit
staging: dgnc: delete parentheses around right hand side of assignment
authorEva Rachel Retuya <eraretuya@gmail.com>
Tue, 23 Feb 2016 16:34:56 +0000 (00:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit0b7ceaa665d2ff938d6e42f41eee944926e180ee
tree9ced3912f0bcdb5addd60a269a46a707b991e4ef
parent0c566659237c910696c5187fd3edb3e5ef085af7
staging: dgnc: delete parentheses around right hand side of assignment

Eliminate unneeded parentheses around the right hand side of an
assignment. Coccinelle semantic patch used:
@@
expression e1, e2;
identifier v;
@@

(
 v = (e1 == e2)
|
 v = (e1 != e2)
|
 v = (e1 <= e2)
|
 v = (e1 >= e2)
|
 v =
- (
e1
- )
)

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_cls.c
drivers/staging/dgnc/dgnc_mgmt.c
drivers/staging/dgnc/dgnc_neo.c
drivers/staging/dgnc/dgnc_tty.c