diff options
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index b18554898562..2d12b76b5a64 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -195,7 +195,7 @@ static struct inode * | |||
195 | rpc_alloc_inode(struct super_block *sb) | 195 | rpc_alloc_inode(struct super_block *sb) |
196 | { | 196 | { |
197 | struct rpc_inode *rpci; | 197 | struct rpc_inode *rpci; |
198 | rpci = (struct rpc_inode *)kmem_cache_alloc(rpc_inode_cachep, GFP_KERNEL); | 198 | rpci = kmem_cache_alloc(rpc_inode_cachep, GFP_KERNEL); |
199 | if (!rpci) | 199 | if (!rpci) |
200 | return NULL; | 200 | return NULL; |
201 | return &rpci->vfs_inode; | 201 | return &rpci->vfs_inode; |