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:
9e78d14
)
ecryptfs: Drop cast
author
Himangi Saraogi
<himangi774@gmail.com>
Thu, 26 Jun 2014 19:41:59 +0000
(
01:11
+0530)
committer
Tyler Hicks
<tyhicks@canonical.com>
Thu, 3 Jul 2014 21:37:56 +0000
(16:37 -0500)
This patch does away with cast on void * and the if 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: Tyler Hicks <tyhicks@canonical.com>
No differences found