Skip to contentSkip to conversation

Squash unused function in fs/nfs/mount_clnt.c

TRIVIAL David Gibson 1 participant 1 message Jan 10, 2003 NFS client

lore
Share & tools
lore
#0 lore raw

Linus, please apply. The xdr_error() function in fs/nfs/mount_clnt.c is never used, so this patch removes it.

fs/nfs/mount_clnt.c renamed from home/dgibson/kernel/linuxppc-2.5/fs/nfs/mount_clnt.c +0 -6
diff -urN /home/dgibson/kernel/linuxppc-2.5/fs/nfs/mount_clnt.c linux-bluefish/fs/nfs/mount_clnt.c
@@ -93,12 +93,6 @@
  * 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)
 {
 	p = xdr_encode_string(p, path);
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson