aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r--src/core/surface/call.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 0245e1b70c..fade17c01a 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -571,7 +571,6 @@ static grpc_call_error start_ioreq(grpc_call *call, const grpc_ioreq *reqs,
}
set = reqs[0].op;
- master = &requests[set];
for (i = 0; i < nreqs; i++) {
op = reqs[i].op;
@@ -588,7 +587,7 @@ static grpc_call_error start_ioreq(grpc_call *call, const grpc_ioreq *reqs,
requests[op].set = set;
}
- GPR_ASSERT(master != NULL);
+ master = &requests[set];
master->need_mask = have_ops;
master->complete_mask = 0;
master->on_complete = completion;