]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/nfs4proc.c
Pull trivial into test branch
[linux-2.6-omap-h63xx.git] / fs / nfs / nfs4proc.c
index ee458aeab24a5ef1ebc1ad8aad1410cd2d64abd9..b3fd29baadc391ff61c822bde3e056e8b3b339e3 100644 (file)
@@ -1877,7 +1877,7 @@ static int nfs4_proc_unlink_setup(struct rpc_message *msg, struct dentry *dir,
        struct nfs_server *server = NFS_SERVER(dir->d_inode);
        struct unlink_desc *up;
 
-       up = (struct unlink_desc *) kmalloc(sizeof(*up), GFP_KERNEL);
+       up = kmalloc(sizeof(*up), GFP_KERNEL);
        if (!up)
                return -ENOMEM;