1
0
Fork 0

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: ideawu <ideawu@163.com>
Reviewed-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
hifive-unleashed-5.1
ideawu 2009-03-26 12:55:29 +08:00 committed by J. Bruce Fields
parent 2795e53b4e
commit abd91ee979
1 changed files with 0 additions and 1 deletions

View File

@ -1093,7 +1093,6 @@ svc_process(struct svc_rqst *rqstp)
procp = versp->vs_proc + proc;
if (proc >= versp->vs_nproc || !procp->pc_func)
goto err_bad_proc;
rqstp->rq_server = serv;
rqstp->rq_procinfo = procp;
/* Syntactic check complete */