diff options
author | ideawu <ideawu@163.com> | 2009-03-26 00:55:29 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-03-27 19:15:21 -0400 |
commit | abd91ee979f785b7377216532620d98ab4e3e5af (patch) | |
tree | 8e230a9966c6b792ee95a190a30572c543e96909 /net | |
parent | 2795e53b4ed5d1f49d2283f416c922f55ec7d461 (diff) |
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')
-rw-r--r-- | net/sunrpc/svc.c | 1 |
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) | |||
1093 | procp = versp->vs_proc + proc; | 1093 | procp = versp->vs_proc + proc; |
1094 | if (proc >= versp->vs_nproc || !procp->pc_func) | 1094 | if (proc >= versp->vs_nproc || !procp->pc_func) |
1095 | goto err_bad_proc; | 1095 | goto err_bad_proc; |
1096 | rqstp->rq_server = serv; | ||
1097 | rqstp->rq_procinfo = procp; | 1096 | rqstp->rq_procinfo = procp; |
1098 | 1097 | ||
1099 | /* Syntactic check complete */ | 1098 | /* Syntactic check complete */ |