Merge pull request #20111 from yashykt/unusedarg

Remove unusued arg
pull/20246/head
Yash Tibrewal 5 years ago committed by GitHub
commit a358d48f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/core/lib/surface/call.cc

@ -1131,8 +1131,7 @@ static size_t batch_slot_for_op(grpc_op_type type) {
}
static batch_control* reuse_or_allocate_batch_control(grpc_call* call,
const grpc_op* ops,
size_t num_ops) {
const grpc_op* ops) {
size_t slot_idx = batch_slot_for_op(ops[0].op);
batch_control** pslot = &call->active_batches[slot_idx];
batch_control* bctl;
@ -1579,7 +1578,7 @@ static grpc_call_error call_start_batch(grpc_call* call, const grpc_op* ops,
goto done;
}
bctl = reuse_or_allocate_batch_control(call, ops, nops);
bctl = reuse_or_allocate_batch_control(call, ops);
if (bctl == nullptr) {
return GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
}

Loading…
Cancel
Save