* [patch] trivial: unused var in sunrpc
@ 2003-02-15 20:10 Robert Love
0 siblings, 0 replies; only message in thread
From: Robert Love @ 2003-02-15 20:10 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-15 20:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-15 20:10 [patch] trivial: unused var in sunrpc Robert Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox