diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-10 20:19:17 +0530 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-07-12 18:43:44 -0400 |
commit | adcda652c92c4881f74cca7f9ca3388bb498d997 (patch) | |
tree | d71d14d95dce47713ea93f889de0b2ab7cee3e8e /fs/nfs | |
parent | 57b696fb1bef433c3bb4cb5807bdb1182815a7e5 (diff) |
rpc_pipe: Drop memory allocation cast
Drop cast on the result of kmalloc and similar functions.
The semantic patch that makes this change is as follows:
// <smpl>
@@
type T;
@@
- (T *)
(\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...))
// </smpl>
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions