diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-08-27 14:06:00 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-08-27 14:06:00 -0700 |
commit | a1ba139a20bce6c82b4a70ceec423ce122f5eefb (patch) | |
tree | 567c4065021eac5fa7dacee90dd63cb122eeab0c | |
parent | a92a9cc2ddec56ebe7a186baee41b18f830ac008 (diff) |
Remove test variable
-rw-r--r-- | src/core/lib/iomgr/ev_epoll1_linux.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/ev_epoll1_linux.c b/src/core/lib/iomgr/ev_epoll1_linux.c index dac9104e34..896d8b8eef 100644 --- a/src/core/lib/iomgr/ev_epoll1_linux.c +++ b/src/core/lib/iomgr/ev_epoll1_linux.c @@ -80,7 +80,6 @@ typedef struct epoll_set { /* The global singleton epoll set */ static epoll_set g_epoll_set; -static gpr_atm g_cs = 0; /* Must be called *only* once */ static bool epoll_set_init() { @@ -930,7 +929,6 @@ static grpc_error *pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *ps, } if (begin_worker(ps, &worker, worker_hdl, &now, deadline)) { - GPR_ASSERT(gpr_atm_no_barrier_cas(&g_cs, 0, 1)); gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); gpr_tls_set(&g_current_thread_worker, (intptr_t)&worker); GPR_ASSERT(!ps->shutting_down); @@ -961,7 +959,6 @@ static grpc_error *pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *ps, gpr_mu_lock(&ps->mu); /* lock */ gpr_tls_set(&g_current_thread_worker, 0); - GPR_ASSERT(gpr_atm_no_barrier_cas(&g_cs, 1, 0)); } else { gpr_tls_set(&g_current_thread_pollset, (intptr_t)ps); } |