Commit fcc21ee2 authored by Robert Love's avatar Robert Love Committed by Jens Axboe

[PATCH] trivial: unused var in sunrpc

There is an unused variable, `int maxlen', in net/sunrpc/clnt.c ::
rpc_setup_pipedir().
parent 8de23faa
...@@ -67,7 +67,6 @@ static int ...@@ -67,7 +67,6 @@ static int
rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name) rpc_setup_pipedir(struct rpc_clnt *clnt, char *dir_name)
{ {
static uint32_t clntid; static uint32_t clntid;
int maxlen = sizeof(clnt->cl_pathname);
int error; int error;
if (dir_name == NULL) if (dir_name == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment