Skip to content

Commit

Permalink
svcrpc: remove an unnecessary assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
Weng Meiling authored and J. Bruce Fields committed Nov 13, 2013
1 parent f06c3d2 commit 587ac5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/sunrpc/svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,8 +1104,6 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv)
rqstp->rq_vers = vers = svc_getnl(argv); /* version number */
rqstp->rq_proc = proc = svc_getnl(argv); /* procedure number */

progp = serv->sv_program;

for (progp = serv->sv_program; progp; progp = progp->pg_next)
if (prog == progp->pg_prog)
break;
Expand Down

0 comments on commit 587ac5e

Please sign in to comment.