diff options
author | 2015-02-02 13:12:29 -0800 | |
---|---|---|
committer | 2015-02-02 13:12:29 -0800 | |
commit | 12af2bd56025bfce87fcfb0c42687208d26df463 (patch) | |
tree | 0ffb807bce9d5df569e7546b8dd71f0dc377bcf2 /src/core/surface/call.c | |
parent | 9c5feda33d30de8bf9e2327996fad8e0a99ee99e (diff) |
Remove unnecessary assert
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 3 |
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; |