summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorideawu <ideawu@163.com>2009-03-26 05:55:29 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-28 00:15:21 +0100
commitabd91ee979f785b7377216532620d98ab4e3e5af (patch)
tree8e230a9966c6b792ee95a190a30572c543e96909 /net/sunrpc
parentSUNRPC: Clean up static inline functions in svc_xprt.h (diff)
downloadlinux-abd91ee979f785b7377216532620d98ab4e3e5af.tar.xz
linux-abd91ee979f785b7377216532620d98ab4e3e5af.zip
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index c51fed4d1af1..fff09a2d8960 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -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 */