Fix duplicate comment line in to_remove_ documentation

This commit is contained in:
J. Nick Koston
2026-03-17 02:05:07 -10:00
parent a8bb3d8c6f
commit 1ed30414c9
-1
View File
@@ -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<uint32_t> to_remove_{0};
#else