diff options
Diffstat (limited to 'source3/lib/events.c')
-rw-r--r-- | source3/lib/events.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c index 203cfccd14..3f7cc02db8 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -379,22 +379,6 @@ int set_event_dispatch_time(struct event_context *event_ctx, return 0; } -/* Returns 1 if event was found and cancelled, 0 otherwise. */ - -int cancel_named_event(struct event_context *event_ctx, - const char *event_name) -{ - struct timed_event *te; - - for (te = event_ctx->timed_events; te; te = te->next) { - if (strcmp(event_name, te->event_name) == 0) { - TALLOC_FREE(te); - return 1; - } - } - return 0; -} - void dump_event_list(struct event_context *event_ctx) { struct timed_event *te; |