diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-27 00:09:09 +0530 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-12 18:43:47 -0400 |
commit | 8ee2b78a444c6715e873486794b5c4af705cd975 (patch) | |
tree | 5e796aa6190f9453382366749f32f144a52e01ba /fs/nfs/super.c | |
parent | adcda652c92c4881f74cca7f9ca3388bb498d997 (diff) | |
download | lwn-8ee2b78a444c6715e873486794b5c4af705cd975.tar.gz lwn-8ee2b78a444c6715e873486794b5c4af705cd975.zip |
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>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions