svcrpc: remove an unnecessary assignment
authorWeng Meiling <wengmeiling.weng@huawei.com>
Fri, 8 Nov 2013 07:23:12 +0000 (15:23 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Nov 2013 20:31:22 +0000 (15:31 -0500)
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc.c

index b974571126fe90fce45ff6edc522366c463d5d8d..e7fbe368b4a38f665c538ae98b3c8db1ce2a5b81 100644 (file)
@@ -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;