diff --git a/firmware/controllers/system/timer/event_queue.cpp b/firmware/controllers/system/timer/event_queue.cpp index 7efc24c3e6..c69397c532 100644 --- a/firmware/controllers/system/timer/event_queue.cpp +++ b/firmware/controllers/system/timer/event_queue.cpp @@ -25,9 +25,6 @@ extern bool verboseMode; uint32_t maxSchedulingPrecisionLoss = 0; -bool EventQueue::checkIfPending(scheduling_s *scheduling) { - assertNotInListMethodBody(scheduling_s, head, scheduling, nextScheduling_s); -} /** * @return true if inserted into the head of the list diff --git a/firmware/controllers/system/timer/event_queue.h b/firmware/controllers/system/timer/event_queue.h index ffda221811..f16939e7e9 100644 --- a/firmware/controllers/system/timer/event_queue.h +++ b/firmware/controllers/system/timer/event_queue.h @@ -64,7 +64,6 @@ public: scheduling_s * getHead(); void assertListIsSorted() const; private: - bool checkIfPending(scheduling_s *scheduling); /** * this list is sorted */