From: arighi Date: Mon, 7 Mar 2011 15:08:59 +0000 (+0000) Subject: event: remove unused hook X-Git-Tag: 2.7.0~211 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=446aae6172b8e362264b6a3d08f7b61fb23898a9;p=bertos.git event: remove unused hook git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4755 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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) \