diff --git a/examples/common/tracing/TracingCommandLineArgument.cpp b/examples/common/tracing/TracingCommandLineArgument.cpp index bea1a86d3060b5..1ef52b6eba5b58 100644 --- a/examples/common/tracing/TracingCommandLineArgument.cpp +++ b/examples/common/tracing/TracingCommandLineArgument.cpp @@ -34,7 +34,6 @@ namespace chip { namespace CommandLineApp { namespace { -#if ENABLE_PERFETTO_TRACING bool StartsWith(CharSpan argument, const char * prefix) { @@ -48,8 +47,6 @@ bool StartsWith(CharSpan argument, const char * prefix) return argument.data_equal(CharSpan(prefix, prefix_len)); } -#endif - } // namespace void TracingSetup::EnableTracingFor(const char * cliArg)