diff options
author | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2015-12-11 14:20:27 -0800 |
---|---|---|
committer | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2015-12-11 14:20:27 -0800 |
commit | b24bf3264ae7d70c4ff4ab7754fd65102e2388fd (patch) | |
tree | 18483ffbca50252ba6952950e86c566cffdf1932 /src/core | |
parent | 65af7af148671c123ecdba66fcf8265945d1dfcd (diff) | |
parent | 7fd4b845d60ca2eeb88ad1414c52d2f8f49b732c (diff) |
Merge pull request #4425 from ctiller/timer_slaying
Slay dead code
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/iomgr/timer.c | 8 | ||||
-rw-r--r-- | src/core/iomgr/timer_internal.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/core/iomgr/timer.c b/src/core/iomgr/timer.c index c0e3175c4c..bbf9800049 100644 --- a/src/core/iomgr/timer.c +++ b/src/core/iomgr/timer.c @@ -343,11 +343,3 @@ int grpc_timer_check(grpc_exec_ctx *exec_ctx, gpr_timespec now, exec_ctx, now, next, gpr_time_cmp(now, gpr_inf_future(now.clock_type)) != 0); } - -gpr_timespec grpc_timer_list_next_timeout(void) { - gpr_timespec out; - gpr_mu_lock(&g_mu); - out = g_shard_queue[0]->min_deadline; - gpr_mu_unlock(&g_mu); - return out; -} diff --git a/src/core/iomgr/timer_internal.h b/src/core/iomgr/timer_internal.h index f180eca36e..f182e73764 100644 --- a/src/core/iomgr/timer_internal.h +++ b/src/core/iomgr/timer_internal.h @@ -54,8 +54,6 @@ int grpc_timer_check(grpc_exec_ctx* exec_ctx, gpr_timespec now, void grpc_timer_list_init(gpr_timespec now); void grpc_timer_list_shutdown(grpc_exec_ctx* exec_ctx); -gpr_timespec grpc_timer_list_next_timeout(void); - /* the following must be implemented by each iomgr implementation */ void grpc_kick_poller(void); |