diff --git a/src/debug/debug_stream/debug_stream_thread_info.c b/src/debug/debug_stream/debug_stream_thread_info.c index 200e2c5e0dc4..a4cb056ec2ac 100644 --- a/src/debug/debug_stream/debug_stream_thread_info.c +++ b/src/debug/debug_stream/debug_stream_thread_info.c @@ -122,7 +122,6 @@ static uint8_t thread_info_cpu_utilization(struct k_thread *thread, { k_thread_runtime_stats_t thread_stats; uint32_t cycles; - int ret; if (!ud->stats_valid) return 0;