aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-08-27 14:06:00 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-08-27 14:06:00 -0700
commita1ba139a20bce6c82b4a70ceec423ce122f5eefb (patch)
tree567c4065021eac5fa7dacee90dd63cb122eeab0c /src
parenta92a9cc2ddec56ebe7a186baee41b18f830ac008 (diff)
Remove test variable
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/ev_epoll1_linux.c3
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);
}