Searched hist:"8 ee2b78a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | nfs4xdr.c | 8ee2b78a Thu Jun 26 13:39:09 CDT 2014 Himangi Saraogi <himangi774@gmail.com> NFSv4: Drop cast
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> 8ee2b78a Thu Jun 26 13:39:09 CDT 2014 Himangi Saraogi <himangi774@gmail.com> NFSv4: Drop cast 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>
|