diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-02 18:41:41 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-02 18:41:41 -0700 |
commit | ffb78c6b2350fbe3cb8c277f8d093eb3eac2fa6f (patch) | |
tree | 50fb94ab3a2c3ae51440d65eeee37b9e8f1370ef | |
parent | 516150062129b5d8f0e2302eef780ed1d977ecac (diff) |
Polish macro again
-rw-r--r-- | src/core/lib/gpr/sync_posix.cc | 4 | ||||
-rw-r--r-- | src/core/lib/iomgr/timer_manager.cc | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/core/lib/gpr/sync_posix.cc b/src/core/lib/gpr/sync_posix.cc index 012d85d78c..69bd609485 100644 --- a/src/core/lib/gpr/sync_posix.cc +++ b/src/core/lib/gpr/sync_posix.cc @@ -28,10 +28,6 @@ #include "src/core/lib/profiling/timers.h" // For debug of the timer manager crash only. -#ifndef kGMS_BuildConfig_EnableGRPC -#define kGMS_BuildConfig_EnableGRPC() GRPC_DEBUG_TIMER_MANAGER -#endif -// For debug of the timer manager crash only. // TODO (mxyan): remove after bug is fixed. #ifdef GRPC_DEBUG_TIMER_MANAGER void (*g_grpc_debug_timer_manager_stats)( diff --git a/src/core/lib/iomgr/timer_manager.cc b/src/core/lib/iomgr/timer_manager.cc index e2e25ff188..eaba05a5ce 100644 --- a/src/core/lib/iomgr/timer_manager.cc +++ b/src/core/lib/iomgr/timer_manager.cc @@ -62,10 +62,6 @@ static uint64_t g_timed_waiter_generation; static void timer_thread(void* completed_thread_ptr); // For debug of the timer manager crash only. -#ifndef kGMS_BuildConfig_EnableGRPC -#define kGMS_BuildConfig_EnableGRPC() GRPC_DEBUG_TIMER_MANAGER -#endif -// For debug of the timer manager crash only. // TODO (mxyan): remove after bug is fixed. #ifdef GRPC_DEBUG_TIMER_MANAGER extern int64_t g_timer_manager_init_count; |