aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-11-12 09:50:21 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-11-12 09:50:21 -0800
commit04cef1fd19fd77c5b758057fc844dca4c5c858a2 (patch)
treec8dfdabb500c4a4f23ee1df538204eb2bc581e77 /src/core
parentd0539dcc3693458f89e75a4f4d0d6534c40ebfa3 (diff)
Revert "Prevent dead-stripping by explicitly calling init"
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/surface/init.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/lib/surface/init.cc b/src/core/lib/surface/init.cc
index 6d58c78ffc..c6198b8ae7 100644
--- a/src/core/lib/surface/init.cc
+++ b/src/core/lib/surface/init.cc
@@ -114,21 +114,8 @@ void grpc_register_plugin(void (*init)(void), void (*destroy)(void)) {
g_number_of_plugins++;
}
-// For debug of the timer manager crash only.
-// TODO (mxyan): remove after bug is fixed.
-#ifdef GRPC_DEBUG_TIMER_MANAGER
-void init_debug_timer_manager();
-#endif
-
void grpc_init(void) {
int i;
-
-// For debug of the timer manager crash only.
-// TODO (mxyan): remove after bug is fixed.
- #ifdef GRPC_DEBUG_TIMER_MANAGER
- init_debug_timer_manager();
- #endif
-
gpr_once_init(&g_basic_init, do_basic_init);
gpr_mu_lock(&g_init_mu);