diff options
-rw-r--r-- | include/linux/sunrpc/clnt.h | 1 | ||||
-rw-r--r-- | net/sunrpc/clnt.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index bfe11be81f6f..481f9c07631e 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -41,7 +41,6 @@ struct rpc_clnt { | |||
41 | cl_vers, /* RPC version number */ | 41 | cl_vers, /* RPC version number */ |
42 | cl_maxproc; /* max procedure number */ | 42 | cl_maxproc; /* max procedure number */ |
43 | 43 | ||
44 | const char * cl_protname; /* protocol name */ | ||
45 | struct rpc_auth * cl_auth; /* authenticator */ | 44 | struct rpc_auth * cl_auth; /* authenticator */ |
46 | struct rpc_stat * cl_stats; /* per-program statistics */ | 45 | struct rpc_stat * cl_stats; /* per-program statistics */ |
47 | struct rpc_iostats * cl_metrics; /* per-client statistics */ | 46 | struct rpc_iostats * cl_metrics; /* per-client statistics */ |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index e862f8c7530a..a327cc7cbae1 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -348,7 +348,6 @@ static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, stru | |||
348 | rcu_assign_pointer(clnt->cl_xprt, xprt); | 348 | rcu_assign_pointer(clnt->cl_xprt, xprt); |
349 | clnt->cl_procinfo = version->procs; | 349 | clnt->cl_procinfo = version->procs; |
350 | clnt->cl_maxproc = version->nrprocs; | 350 | clnt->cl_maxproc = version->nrprocs; |
351 | clnt->cl_protname = program->name; | ||
352 | clnt->cl_prog = args->prognumber ? : program->number; | 351 | clnt->cl_prog = args->prognumber ? : program->number; |
353 | clnt->cl_vers = version->number; | 352 | clnt->cl_vers = version->number; |
354 | clnt->cl_stats = program->stats; | 353 | clnt->cl_stats = program->stats; |