diff options
author | Srishti Sharma <srishtishar@gmail.com> | 2017-09-16 02:36:16 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-18 11:53:16 +0200 |
commit | 7f1a9c61d627361924bc507f12fa3c6e77e80669 (patch) | |
tree | cd20dd876205ac96792d6105aef0d3b4651e68bf /drivers/staging/irda/net | |
parent | 1521968f3cdfde1df64b68717eb9cfcb9f8fa52f (diff) | |
download | linux-7f1a9c61d627361924bc507f12fa3c6e77e80669.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/irda/net')
-rw-r--r-- | drivers/staging/irda/net/irqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/irda/net/irqueue.c b/drivers/staging/irda/net/irqueue.c index 5aab07259ac7..14291cbc4097 100644 --- a/drivers/staging/irda/net/irqueue.c +++ b/drivers/staging/irda/net/irqueue.c @@ -217,7 +217,7 @@ static __u32 hash( const char* name) while(*name) { h = (h<<4) + *name++; - g = (h & 0xf0000000); + g = h & 0xf0000000; if (g) h ^=g>>24; h &=~g; |