]> Pileus Git - ~andy/linux/commitdiff
SUNRPC: Remove unused struct rpc_clnt field cl_protname
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Aug 2013 23:58:45 +0000 (19:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Aug 2013 13:19:35 +0000 (09:19 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c

index bfe11be81f6fd46dfa1a20de478ceadf4418ac10..481f9c07631ebc86238d505d681b4b4b21d31d95 100644 (file)
@@ -41,7 +41,6 @@ struct rpc_clnt {
                                cl_vers,        /* RPC version number */
                                cl_maxproc;     /* max procedure number */
 
-       const char *            cl_protname;    /* protocol name */
        struct rpc_auth *       cl_auth;        /* authenticator */
        struct rpc_stat *       cl_stats;       /* per-program statistics */
        struct rpc_iostats *    cl_metrics;     /* per-client statistics */
index e862f8c7530a2ef1a42cebdf3614a5c4c2f7daa2..a327cc7cbae17e69b10e690a7b20a5e50b3f5558 100644 (file)
@@ -348,7 +348,6 @@ static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, stru
        rcu_assign_pointer(clnt->cl_xprt, xprt);
        clnt->cl_procinfo = version->procs;
        clnt->cl_maxproc  = version->nrprocs;
-       clnt->cl_protname = program->name;
        clnt->cl_prog     = args->prognumber ? : program->number;
        clnt->cl_vers     = version->number;
        clnt->cl_stats    = program->stats;