From 1ed30414c9f30dae79f674897abf75bf6d014c1d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 17 Mar 2026 02:05:07 -1000 Subject: [PATCH] Fix duplicate comment line in to_remove_ documentation --- esphome/core/scheduler.h | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/core/scheduler.h b/esphome/core/scheduler.h index d6f9ee2a44e..613053dec6e 100644 --- a/esphome/core/scheduler.h +++ b/esphome/core/scheduler.h @@ -620,7 +620,6 @@ class Scheduler { // Counter for items marked for removal. Incremented cross-thread in cancel_item_locked_(). // On ESPHOME_THREAD_MULTI_ATOMICS this is read without a lock in the cleanup_() fast path; // on ESPHOME_THREAD_MULTI_NO_ATOMICS the fast path is disabled so cleanup_() always takes the lock. - // on ESPHOME_THREAD_MULTI_NO_ATOMICS the fast path is disabled so cleanup_() always takes the lock. #ifdef ESPHOME_THREAD_MULTI_ATOMICS std::atomic to_remove_{0}; #else