From acd095006f0ec7254223834043e7d8e1b592ef8c Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sun, 19 Jul 2015 11:14:03 -0700 Subject: [PATCH] Spam cleanup --- src/core/client_config/lb_policy.h | 2 -- src/core/client_config/subchannel.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/core/client_config/lb_policy.h b/src/core/client_config/lb_policy.h index d62419b4577..3f7ca8f28dd 100644 --- a/src/core/client_config/lb_policy.h +++ b/src/core/client_config/lb_policy.h @@ -75,8 +75,6 @@ struct grpc_lb_policy_vtable { grpc_iomgr_closure *closure); }; -#define GRPC_LB_POLICY_REFCOUNT_DEBUG - #ifdef GRPC_LB_POLICY_REFCOUNT_DEBUG #define GRPC_LB_POLICY_REF(p, r) \ grpc_lb_policy_ref((p), __FILE__, __LINE__, (r)) diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c index c455c0112bc..074e64dfc5f 100644 --- a/src/core/client_config/subchannel.c +++ b/src/core/client_config/subchannel.c @@ -579,8 +579,6 @@ static void publish_transport(grpc_subchannel *c) { static void on_alarm(void *arg, int iomgr_success) { grpc_subchannel *c = arg; gpr_mu_lock(&c->mu); - gpr_log(GPR_DEBUG, "on_alarm:%d:%d:%d", c->have_alarm, iomgr_success, - c->disconnected); c->have_alarm = 0; if (c->disconnected) { iomgr_success = 0; @@ -610,9 +608,6 @@ static void subchannel_connected(void *arg, int iomgr_success) { gpr_time_from_seconds(60, GPR_TIMESPAN)) < 0) { c->backoff_delta = gpr_time_add(c->backoff_delta, c->backoff_delta); } - gpr_log(GPR_DEBUG, "wait: %d.%09d %d.%09d %d.%09d", now.tv_sec, now.tv_nsec, - c->next_attempt.tv_sec, c->next_attempt.tv_nsec, - c->backoff_delta.tv_sec, c->backoff_delta.tv_nsec); grpc_alarm_init(&c->alarm, c->next_attempt, on_alarm, c, now); gpr_mu_unlock(&c->mu); }