aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/grpc_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ext/census/grpc_context.cc')
-rw-r--r--src/core/ext/census/grpc_context.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/ext/census/grpc_context.cc b/src/core/ext/census/grpc_context.cc
index 0bfba63a5e..34eafcab8e 100644
--- a/src/core/ext/census/grpc_context.cc
+++ b/src/core/ext/census/grpc_context.cc
@@ -24,9 +24,6 @@
void grpc_census_call_set_context(grpc_call *call, census_context *context) {
GRPC_API_TRACE("grpc_census_call_set_context(call=%p, census_context=%p)", 2,
(call, context));
- if (census_enabled() == CENSUS_FEATURE_NONE) {
- return;
- }
if (context != NULL) {
grpc_call_context_set(call, GRPC_CONTEXT_TRACING, context, NULL);
}