aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/debug/stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/debug/stats.h')
-rw-r--r--src/core/lib/debug/stats.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/lib/debug/stats.h b/src/core/lib/debug/stats.h
index b30e008e2b..563b108dff 100644
--- a/src/core/lib/debug/stats.h
+++ b/src/core/lib/debug/stats.h
@@ -32,10 +32,9 @@ extern grpc_stats_data *grpc_stats_per_cpu_storage;
#define GRPC_THREAD_STATS_DATA(exec_ctx) \
(&grpc_stats_per_cpu_storage[(exec_ctx)->starting_cpu])
-#define GRPC_STATS_INC_COUNTER(exec_ctx, ctr) \
- (gpr_atm_no_barrier_fetch_add( \
- &GRPC_THREAD_STATS_DATA((exec_ctx))->counters[(ctr)], 1), \
- 0)
+#define GRPC_STATS_INC_COUNTER(exec_ctx, ctr) \
+ (gpr_atm_no_barrier_fetch_add( \
+ &GRPC_THREAD_STATS_DATA((exec_ctx))->counters[(ctr)], 1))
void grpc_stats_init(void);
void grpc_stats_shutdown(void);