]> asedeno.scripts.mit.edu Git - linux.git/commit
Staging: irda: Remove parentheses on the right of assignment
authorSrishti Sharma <srishtishar@gmail.com>
Fri, 15 Sep 2017 21:06:16 +0000 (02:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 09:53:16 +0000 (11:53 +0200)
commit7f1a9c61d627361924bc507f12fa3c6e77e80669
treecd20dd876205ac96792d6105aef0d3b4651e68bf
parent1521968f3cdfde1df64b68717eb9cfcb9f8fa52f
Staging: irda: Remove parentheses on the right of assignment

Parentheses are not needed on the right hand side of assignment
statement in most cases. Done using the following semantic
patch by coccinelle.

@@
identifier E,F,G,f;
expression e,r;
@@

(
E = (G == F);
|
E = (e == r);
|
E =
-(
...
-)
;
)

Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/irda/drivers/mcs7780.c
drivers/staging/irda/net/irqueue.c