public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL] Squash unused function in fs/nfs/mount_clnt.c
@ 2003-01-10  6:11 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2003-01-10  6:11 UTC (permalink / raw)
  To: Linus Torvalds, linux-kernel; +Cc: trivial

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

diff -urN /home/dgibson/kernel/linuxppc-2.5/fs/nfs/mount_clnt.c linux-bluefish/fs/nfs/mount_clnt.c
--- /home/dgibson/kernel/linuxppc-2.5/fs/nfs/mount_clnt.c	2002-12-04 10:58:01.000000000 +1100
+++ linux-bluefish/fs/nfs/mount_clnt.c	2003-01-10 16:43:03.000000000 +1100
@@ -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);


-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-10  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10  6:11 [TRIVIAL] Squash unused function in fs/nfs/mount_clnt.c David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox