From 446aae6172b8e362264b6a3d08f7b61fb23898a9 Mon Sep 17 00:00:00 2001 From: arighi Date: Mon, 7 Mar 2011 15:08:59 +0000 Subject: [PATCH] event: remove unused hook git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4755 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/mware/event.c | 8 -------- bertos/mware/event.h | 1 - 2 files changed, 9 deletions(-) diff --git a/bertos/mware/event.c b/bertos/mware/event.c index 489014db..18631508 100644 --- a/bertos/mware/event.c +++ b/bertos/mware/event.c @@ -69,11 +69,3 @@ void event_hook_generic(Event *e) e->Ev.Gen.completed = true; MEMORY_BARRIER; } - -#if CONFIG_TIMER_EVENTS -void event_hook_generic_timeout(Event *e) -{ - e->Ev.Gen.completed = true; - MEMORY_BARRIER; -} -#endif diff --git a/bertos/mware/event.h b/bertos/mware/event.h index 5bc94e9e..0111ef8c 100644 --- a/bertos/mware/event.h +++ b/bertos/mware/event.h @@ -148,7 +148,6 @@ void event_hook_signal(Event *event); void event_hook_softint(Event *event); void event_hook_generic(Event *event); void event_hook_generic_signal(Event *event); -void event_hook_generic_timeout(Event *event); /** Initialize the event \a e as a no-op */ #define event_initNone(e) \ -- 2.25.1