Searched hist:c4cf3ba4 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ecryptfs/ |
H A D | inode.c | c4cf3ba4 Thu Jun 26 14:41:59 CDT 2014 Himangi Saraogi <himangi774@gmail.com> ecryptfs: Drop cast
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> c4cf3ba4 Thu Jun 26 14:41:59 CDT 2014 Himangi Saraogi <himangi774@gmail.com> ecryptfs: Drop cast 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>
|