]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Squash unused function in fs_nfs_mount_clnt.c
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Feb 2003 11:00:16 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 9 Feb 2003 11:00:16 +0000 (03:00 -0800)
From:  David Gibson <david@gibson.dropbear.id.au>

  is never used, so this patch removes it.

fs/nfs/mount_clnt.c

index 83e3f8e55e4b07f3243dfb6c3e2ea01b7e4659fa..9d54ad1b460e6fa0ee9a75224fdb24083d02b419 100644 (file)
@@ -92,12 +92,6 @@ mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
 /*
  * XDR encode/decode functions for MOUNT
  */
-static int
-xdr_error(struct rpc_rqst *req, u32 *p, void *dummy)
-{
-       return -EIO;
-}
-
 static int
 xdr_encode_dirpath(struct rpc_rqst *req, u32 *p, const char *path)
 {