summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2003-02-14 20:35:12 -0800
committerJens Axboe <axboe@suse.de>2003-02-14 20:35:12 -0800
commitfcc21ee29a39fd47d119e12997d2b09d97083e28 (patch)
treecfd2d3b6bb399e45569b5a613c0b109bc66978c0
parent8de23faa914881f2531f7bc189df1ae48ab7ae92 (diff)
[PATCH] trivial: unused var in sunrpc
There is an unused variable, `int maxlen', in net/sunrpc/clnt.c :: rpc_setup_pipedir().
-rw-r--r--net/sunrpc/clnt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index d57c24e010a6..50320f305d31 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -67,7 +67,6 @@ static int
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)