Skip to content

Commit

Permalink
xprt: remove redundant check
Browse files Browse the repository at this point in the history
remove redundant check.

Signed-off-by: Jinqiu Yang <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
[email protected] authored and Trond Myklebust committed Mar 17, 2011
1 parent a8de240 commit ba3c578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ int xprt_reserve_xprt(struct rpc_task *task)
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);
Expand Down

0 comments on commit ba3c578

Please sign in to comment.