req->rq_phase = RQ_PHASE_RPC;
rc = ptl_send_rpc(req, 1);
- if (rc) {
- CWARN("ctx %p(%u->%s): rpc error %d, destroy locally\n",
- ctx, ctx->cc_vcred.vc_uid, sec2target_str(ctx->cc_sec),
- rc);
- }
+ if (rc)
+ CWARN("ctx %p(%u->%s): rpc error %d, destroy locally\n", ctx,
+ ctx->cc_vcred.vc_uid, sec2target_str(ctx->cc_sec), rc);
out_ref:
ptlrpc_req_finished(req);