From: David Gibson <david@gibson.dropbear.id.au>
To: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au
Subject: [TRIVIAL] Squash unused function in fs/nfs/mount_clnt.c
Date: Fri, 10 Jan 2003 17:11:44 +1100 [thread overview]
Message-ID: <20030110061144.GM19829@zax.zax> (raw)
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
reply other threads:[~2003-01-10 6:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030110061144.GM19829@zax.zax \
--to=david@gibson.dropbear.id.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox