]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: greybus: sdio.c: Remove unncessary paranthesis.
authorSanjana Sanikommu <sanjana99reddy99@gmail.com>
Thu, 21 Mar 2019 16:31:08 +0000 (22:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Mar 2019 18:57:26 +0000 (19:57 +0100)
commit52012642a599d5ea090e99d6213ea736237ca7a6
treeaac56e8147d4b85fbf6c73ba375ae2ae47fe5eb4
parente2ff9f15e8ac8861929573e4fa80bfe92e1b1805
staging: greybus: sdio.c: Remove unncessary paranthesis.

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

@@
binary operator op = {==,!=,&&,||,>=,<=,&,|};
expression l, r, t;
@@

(
l = (r op t)
|
l =
-(
r
-)
)

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