Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 */