public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Weng Meiling <wengmeiling.weng-hv44wF8Li93QT0dZR+AlfA@public•gmane.org>
To: <linux-nfs-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>
Cc: <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public•gmane.org>,
	<bfields-uC3wQj2KruNg9hUCZPvPmw@public•gmane.org>,
	<davem-fT/PcQaiUtIeIZ0/mPfg9Q@public•gmane.org>,
	<netdev-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public•gmane.org>
Subject: [PATCH] svcrpc: remove the unnecessary evaluation
Date: Fri, 8 Nov 2013 15:23:12 +0800	[thread overview]
Message-ID: <527C9160.3070808@huawei.com> (raw)
In-Reply-To: <52786417.6090707-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>


From: Weng Meiling <wengmeiling.weng-hv44wF8Li93QT0dZR+AlfA@public•gmane.org>

Signed-off-by: Weng Meiling <wengmeiling.weng-hv44wF8Li93QT0dZR+AlfA@public•gmane.org>
---
 net/sunrpc/svc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index b974571..e7fbe36 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)
 	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;
-- 
1.8.3.1




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

       reply	other threads:[~2013-11-08  7:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52786417.6090707@huawei.com>
     [not found] ` <52786417.6090707-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-11-08  7:23   ` Weng Meiling [this message]
     [not found]     ` <527C9160.3070808-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-11-13 15:56       ` [PATCH] svcrpc: remove the unnecessary evaluation J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527C9160.3070808@huawei.com \
    --to=wengmeiling.weng-hv44wf8li93qt0dzr+alfa@public$(echo .)gmane.org \
    --cc=Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public$(echo .)gmane.org \
    --cc=bfields-uC3wQj2KruNg9hUCZPvPmw@public$(echo .)gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public$(echo .)gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=lizefan-hv44wF8Li93QT0dZR+AlfA@public$(echo .)gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox