Commit ba3c578d authored by j223yang@asset.uwaterloo.ca's avatar j223yang@asset.uwaterloo.ca Committed by Trond Myklebust

xprt: remove redundant check

remove redundant check.
Signed-off-by: default avatarJinqiu Yang <crindy646@gmail.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent a8de240a
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment