NFS: remove unused function in fs/nfs/mount_clnt.c
authorChuck Lever <[email protected]>
Thu, 18 Jun 2009 01:02:11 +0000 (18:02 -0700)
committerTrond Myklebust <[email protected]>
Thu, 18 Jun 2009 01:02:11 +0000 (18:02 -0700)
Clean up: remove xdr_encode_dirpath() now that it has been replaced.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/mount_clnt.c

index 93361afcd5daca9ade0a779ad55d6225c4b274ae..79b5954b8a1b5dba2d6f6750781a9628e19ff333 100644 (file)
@@ -141,14 +141,6 @@ out_mnt_err:
 /*
  * XDR encode/decode functions for MOUNT
  */
-static int xdr_encode_dirpath(struct rpc_rqst *req, __be32 *p,
-                             const char *path)
-{
-       p = xdr_encode_string(p, path);
-
-       req->rq_slen = xdr_adjust_iovec(req->rq_svec, p);
-       return 0;
-}
 
 static int encode_mntdirpath(struct xdr_stream *xdr, const char *pathname)
 {