aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWeng Meiling <wengmeiling.weng@huawei.com>2013-11-08 02:23:12 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-11-13 15:31:22 -0500
commit587ac5ee6f9f912926abe34bb323c6f87d53f137 (patch)
treed6e3a689e9a42c54ba2fe8a6c3bcbe6726f57125 /net
parentf06c3d2bb8e9e6d697ca059556d8de0647e2905d (diff)
svcrpc: remove an unnecessary assignment
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index b974571126fe..e7fbe368b4a3 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1104,8 +1104,6 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv)
1104 rqstp->rq_vers = vers = svc_getnl(argv); /* version number */ 1104 rqstp->rq_vers = vers = svc_getnl(argv); /* version number */
1105 rqstp->rq_proc = proc = svc_getnl(argv); /* procedure number */ 1105 rqstp->rq_proc = proc = svc_getnl(argv); /* procedure number */
1106 1106
1107 progp = serv->sv_program;
1108
1109 for (progp = serv->sv_program; progp; progp = progp->pg_next) 1107 for (progp = serv->sv_program; progp; progp = progp->pg_next)
1110 if (prog == progp->pg_prog) 1108 if (prog == progp->pg_prog)
1111 break; 1109 break;