sunrpc/svc.c: Remove unused line 'rqstp->rq_server = serv;' in svc_process
authorideawu <ideawu@163.com>
Thu, 26 Mar 2009 04:55:29 +0000 (12:55 +0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 27 Mar 2009 23:15:21 +0000 (19:15 -0400)
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>
net/sunrpc/svc.c

index c51fed4..fff09a2 100644 (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 */