diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 17:43:46 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 17:43:46 +0100 |
commit | 29dd98be094810ce6edaa638eb76ba3138113afe (patch) | |
tree | 825b6da4214e76710a7fe4e98ac91ccf4f2ea251 | |
parent | 8475d18641e407ad13b0529e788bd472018a5cc2 (diff) | |
download | samba-29dd98be094810ce6edaa638eb76ba3138113afe.tar.gz samba-29dd98be094810ce6edaa638eb76ba3138113afe.tar.bz2 samba-29dd98be094810ce6edaa638eb76ba3138113afe.zip |
Remove unused Samba4-specific init functions for libtevent.
-rw-r--r-- | lib/tevent/config.mk | 4 | ||||
-rw-r--r-- | lib/tevent/tevent_s4.c | 36 |
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 */ |