diff --git a/src/core/lib/debug/trace.cc b/src/core/lib/debug/trace.cc index 6e66c89b473..84c0a3805d3 100644 --- a/src/core/lib/debug/trace.cc +++ b/src/core/lib/debug/trace.cc @@ -70,14 +70,6 @@ bool TraceFlagList::Set(const char* name, bool enabled) { } void TraceFlagList::Add(TraceFlag* flag) { - // TODO(yashykt): This loop is present to sidestep - // https://github.com/grpc/grpc/issues/21213. Remove it when either Makefile - // is fixed, or it's deprecated. - for (TraceFlag* t = root_tracer_; t != nullptr; t = t->next_tracer_) { - if (t == flag) { - return; - } - } flag->next_tracer_ = root_tracer_; root_tracer_ = flag; }