git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adcda65
)
NFSv4: Drop cast
author
Himangi Saraogi
<himangi774@gmail.com>
Thu, 26 Jun 2014 18:39:09 +0000
(
00:09
+0530)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 22:43:47 +0000
(18:43 -0400)
This patch does away with the cast on void * as it is unnecessary.
The following Coccinelle semantic patch was used for making the change:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
No differences found