From: j223yang@asset.uwaterloo.ca
To: trond.myklebust@fys.uio.no
Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [patch]xprt: remove redundant check
Date: Wed, 16 Mar 2011 11:16:22 -0400 [thread overview]
Message-ID: <20110316151622.GA2932@asset.uwaterloo.ca> (raw)
remove redundant check, second hunk.
Signed-off-by: Jinqiu Yang <crindy646@gmail.com>
---
xprt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt
--- a/net/sunrpc/xprt.c 2011-03-16 11:06:58.460039603 -0400
+++ b/net/sunrpc/xprt.c 2011-03-16 11:07:49.835164663 -0400
@@ -212,7 +212,7 @@ out_sleep:
task->tk_pid, xprt);
task->tk_timeout = 0;
task->tk_status = -EAGAIN;
- if (req && req->rq_ntrans)
+ if (req->rq_ntrans)
rpc_sleep_on(&xprt->resend, task, NULL);
else
rpc_sleep_on(&xprt->sending, task, NULL);
reply other threads:[~2011-03-16 15:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110316151622.GA2932@asset.uwaterloo.ca \
--to=j223yang@asset.uwaterloo.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®