]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - fs/nfs/nfs3proc.c
[PATCH] fs: Removing useless casts
[linux-2.6.git] / fs / nfs / nfs3proc.c
index f8688eaa0001f2f9b376ac916e6ad0683402b3f9..3b234d4601e71ac51f45e71e409526aa96fcf14d 100644 (file)
@@ -449,7 +449,7 @@ nfs3_proc_unlink_setup(struct rpc_message *msg, struct dentry *dir, struct qstr
                struct nfs_fattr res;
        } *ptr;
 
-       ptr = (struct unlinkxdr *)kmalloc(sizeof(*ptr), GFP_KERNEL);
+       ptr = kmalloc(sizeof(*ptr), GFP_KERNEL);
        if (!ptr)
                return -ENOMEM;
        ptr->arg.fh = NFS_FH(dir->d_inode);