From 8ac074ba20ed23f597eddf0a2d07293ec80d88a8 Mon Sep 17 00:00:00 2001 From: vpai Date: Mon, 1 Dec 2014 12:41:41 -0800 Subject: Remove argument to grpc_em_alarm_cancel as it isn't used. Change on 2014/12/01 by vpai ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81088661 --- src/core/surface/call.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/core/surface') 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; -- cgit v1.2.3