]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: staging: rtl8723au: core: Removed unnecessary parentheses
authorTina Johnson <tinajohnson.1234@gmail.com>
Mon, 9 Mar 2015 06:32:49 +0000 (12:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 12:37:22 +0000 (13:37 +0100)
commit143ff119553af104ab5c151401bbef11136cfacd
tree88027516b15b9cd5522cb22fe3ad466c0d5fbb7f
parent69e2b47fa082dffad06643c85be2d36f4ef6ab9c
drivers: staging: rtl8723au: core: Removed unnecessary parentheses

Parentheses around the right side of an assignment statement are
unnecessary and hence removed. Coccinelle was used to produce the
patch:

@rule1@
identifier x,y;
constant c;
@@

(

 x =
-(
 y << c
-)
 ;
|
 x =
-(
 y >> c
-)
 ;
|
 x =
-(
 y + c
-)
 ;
|
 x =
-(
 y - c
-)
 ;

)

Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_security.c