diff options
author | vpai <vpai@google.com> | 2014-12-01 12:41:41 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2014-12-01 14:38:21 -0800 |
commit | 8ac074ba20ed23f597eddf0a2d07293ec80d88a8 (patch) | |
tree | f8e0be42439d7667ca69dc91a9f7b2d83573e66c /src/core/surface | |
parent | 29e1d295eff43d05af3e3475e911b3f5df2b5522 (diff) |
Remove argument to grpc_em_alarm_cancel as it isn't used.
Change on 2014/12/01 by vpai <vpai@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81088661
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/call.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 63d408d2d5..02c224dabd 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -253,8 +253,7 @@ void grpc_call_internal_unref(grpc_call *c) { void grpc_call_destroy(grpc_call *c) { gpr_mu_lock(&c->read_mu); if (c->have_alarm) { - void *arg_was; - grpc_em_alarm_cancel(&c->alarm, &arg_was); + grpc_em_alarm_cancel(&c->alarm); c->have_alarm = 0; } gpr_mu_unlock(&c->read_mu); @@ -774,8 +773,7 @@ void grpc_call_recv_finish(grpc_call_element *elem, int is_full_close) { } if (is_full_close) { if (call->have_alarm) { - void *arg_was; - grpc_em_alarm_cancel(&call->alarm, &arg_was); + grpc_em_alarm_cancel(&call->alarm); call->have_alarm = 0; } call->received_finish = 1; |