NFS: Remove unused UMNT response data structure
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Dec 2010 14:58:49 +0000 (14:58 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Dec 2010 17:37:25 +0000 (12:37 -0500)
Clean up.

The UMNT request has a NULL response.  There's no need to set up a
mountres structure for it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/mount_clnt.c

index c82547e49ba1e26c543ce4e4d43addf1a7db8380..97c3ec793305e62d124f3573b143bc927c415e5b 100644 (file)
@@ -236,10 +236,8 @@ void nfs_umount(const struct nfs_mount_request *info)
                .authflavor     = RPC_AUTH_UNIX,
                .flags          = RPC_CLNT_CREATE_NOPING,
        };
-       struct mountres result;
        struct rpc_message msg  = {
                .rpc_argp       = info->dirpath,
-               .rpc_resp       = &result,
        };
        struct rpc_clnt *clnt;
        int status;