Commit abd91ee9 authored by ideawu's avatar ideawu Committed by J. Bruce Fields

sunrpc/svc.c: Remove unused line 'rqstp->rq_server = serv;' in svc_process

There is no need to set rqstp->rq_server to serv, while serv is initialized as rqstp->rq_server at previous line. And between these two lines, there is no change to rqstp->rq_server.
Signed-off-by: default avatarideawu <ideawu@163.com>
Reviewed-by: default avatarTom Tucker <tom@opengridcomputing.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 2795e53b
...@@ -1093,7 +1093,6 @@ svc_process(struct svc_rqst *rqstp) ...@@ -1093,7 +1093,6 @@ svc_process(struct svc_rqst *rqstp)
procp = versp->vs_proc + proc; procp = versp->vs_proc + proc;
if (proc >= versp->vs_nproc || !procp->pc_func) if (proc >= versp->vs_nproc || !procp->pc_func)
goto err_bad_proc; goto err_bad_proc;
rqstp->rq_server = serv;
rqstp->rq_procinfo = procp; rqstp->rq_procinfo = procp;
/* Syntactic check complete */ /* Syntactic check complete */
......
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