diff options
author | j223yang@asset.uwaterloo.ca <j223yang@asset.uwaterloo.ca> | 2011-03-16 11:16:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-17 12:39:00 -0400 |
commit | ba3c578de274a5438bafbce03f9225936698051c (patch) | |
tree | fd7b7f821334806583d76104995c126485bce5c6 /net | |
parent | a8de240a9074b72b156d9e6d53f00076e6cd5f03 (diff) |
xprt: remove redundant check
remove redundant check.
Signed-off-by: Jinqiu Yang <crindy646@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 4499b5a51763..9494c3767356 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -212,7 +212,7 @@ out_sleep: | |||
212 | task->tk_pid, xprt); | 212 | task->tk_pid, xprt); |
213 | task->tk_timeout = 0; | 213 | task->tk_timeout = 0; |
214 | task->tk_status = -EAGAIN; | 214 | task->tk_status = -EAGAIN; |
215 | if (req && req->rq_ntrans) | 215 | if (req->rq_ntrans) |
216 | rpc_sleep_on(&xprt->resend, task, NULL); | 216 | rpc_sleep_on(&xprt->resend, task, NULL); |
217 | else | 217 | else |
218 | rpc_sleep_on(&xprt->sending, task, NULL); | 218 | rpc_sleep_on(&xprt->sending, task, NULL); |