summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tevent/config.mk4
-rw-r--r--lib/tevent/tevent_s4.c36
2 files changed, 0 insertions, 40 deletions
diff --git a/lib/tevent/config.mk b/lib/tevent/config.mk
index 7654f78ecc..e11a9e61de 100644
--- a/lib/tevent/config.mk
+++ b/lib/tevent/config.mk
@@ -2,7 +2,6 @@
[MODULE::TEVENT_AIO]
PRIVATE_DEPENDENCIES = LIBAIO_LINUX
SUBSYSTEM = LIBTEVENT
-INIT_FUNCTION = s4_events_aio_init
##############################
TEVENT_AIO_OBJ_FILES = $(libteventsrcdir)/tevent_aio.o
@@ -10,7 +9,6 @@ TEVENT_AIO_OBJ_FILES = $(libteventsrcdir)/tevent_aio.o
##############################
[MODULE::TEVENT_EPOLL]
SUBSYSTEM = LIBTEVENT
-INIT_FUNCTION = s4_events_epoll_init
##############################
TEVENT_EPOLL_OBJ_FILES = $(libteventsrcdir)/tevent_epoll.o
@@ -18,7 +16,6 @@ TEVENT_EPOLL_OBJ_FILES = $(libteventsrcdir)/tevent_epoll.o
##############################
[MODULE::TEVENT_SELECT]
SUBSYSTEM = LIBTEVENT
-INIT_FUNCTION = s4_events_select_init
##############################
TEVENT_SELECT_OBJ_FILES = $(libteventsrcdir)/tevent_select.o
@@ -26,7 +23,6 @@ TEVENT_SELECT_OBJ_FILES = $(libteventsrcdir)/tevent_select.o
##############################
[MODULE::TEVENT_STANDARD]
SUBSYSTEM = LIBTEVENT
-INIT_FUNCTION = s4_events_standard_init
##############################
TEVENT_STANDARD_OBJ_FILES = $(libteventsrcdir)/tevent_standard.o
diff --git a/lib/tevent/tevent_s4.c b/lib/tevent/tevent_s4.c
index 4be92599a7..80267fdd22 100644
--- a/lib/tevent/tevent_s4.c
+++ b/lib/tevent/tevent_s4.c
@@ -20,42 +20,6 @@
#include "tevent.h"
#include "tevent_internal.h"
-NTSTATUS s4_events_standard_init(void)
-{
- if (!events_standard_init()) {
- return NT_STATUS_INTERNAL_ERROR;
- }
- return NT_STATUS_OK;
-}
-
-NTSTATUS s4_events_select_init(void)
-{
- if (!events_select_init()) {
- return NT_STATUS_INTERNAL_ERROR;
- }
- return NT_STATUS_OK;
-}
-
-#if HAVE_EVENTS_EPOLL
-NTSTATUS s4_events_epoll_init(void)
-{
- if (!events_epoll_init()) {
- return NT_STATUS_INTERNAL_ERROR;
- }
- return NT_STATUS_OK;
-}
-#endif
-
-#if HAVE_LINUX_AIO
-NTSTATUS s4_events_aio_init(void)
-{
- if (!events_aio_init()) {
- return NT_STATUS_INTERNAL_ERROR;
- }
- return NT_STATUS_OK;
-}
-#endif
-
/*
this is used to catch debug messages from events
*/