From: Robert Love <rml@tech9.net>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [patch] trivial: unused var in sunrpc
Date: 15 Feb 2003 15:10:02 -0500 [thread overview]
Message-ID: <1045339802.5926.3.camel@phantasy> (raw)
There is an unused variable, `int maxlen', in net/sunrpc/clnt.c ::
rpc_setup_pipedir().
Attached patch, against 2.5.61, removes it. Please, apply.
Robert Love
net/sunrpc/clnt.c | 1 -
1 files changed, 1 deletion(-)
diff -urN linux-2.5.61/net/sunrpc/clnt.c linux/net/sunrpc/clnt.c
--- linux-2.5.61/net/sunrpc/clnt.c 2003-02-14 18:51:30.000000000 -0500
+++ linux/net/sunrpc/clnt.c 2003-02-15 15:05:01.810157736 -0500
@@ -67,7 +67,6 @@
rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name)
{
static uint32_t clntid;
- int maxlen = sizeof(clnt->cl_pathname);
int error;
if (dir_name == NULL)
reply other threads:[~2003-02-15 20:00 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=1045339802.5926.3.camel@phantasy \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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