From cbde1edc418f88f57253eec2df3cdcdd09d871a1 Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Wed, 9 Apr 2025 14:07:12 +0200 Subject: [PATCH] net: openthread: Remove unused function from radio.c clear_pending_events() was not used anywhere. Signed-off-by: Robert Lubos --- modules/openthread/platform/radio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/openthread/platform/radio.c b/modules/openthread/platform/radio.c index 82b54a34763..4a9fc1279cf 100644 --- a/modules/openthread/platform/radio.c +++ b/modules/openthread/platform/radio.c @@ -158,11 +158,6 @@ static void reset_pending_event(enum pending_events event) atomic_clear_bit(pending_events, event); } -static inline void clear_pending_events(void) -{ - atomic_clear(pending_events); -} - void energy_detected(const struct device *dev, int16_t max_ed) { if (dev == radio_dev) {