From d69516f5e734734515f191b085e7403eac3d5aac Mon Sep 17 00:00:00 2001 From: Artur Paszkiewicz Date: Tue, 21 Mar 2023 15:40:42 +0100 Subject: [PATCH] thread: remove spdk_{start|stop}_poller typedefs These are not used anywhere. Change-Id: I04dba71d35b6684af13a8ff00f104665f2905cff Signed-off-by: Artur Paszkiewicz Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17286 Reviewed-by: Konrad Sztyber Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Community-CI: Mellanox Build Bot --- include/spdk/thread.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/include/spdk/thread.h b/include/spdk/thread.h index c40780036..a806c3de9 100644 --- a/include/spdk/thread.h +++ b/include/spdk/thread.h @@ -107,29 +107,6 @@ typedef void (*spdk_thread_pass_msg)(spdk_msg_fn fn, void *ctx, */ typedef int (*spdk_poller_fn)(void *ctx); -/** - * Function to be called to start a poller for the thread. - * - * \param thread_ctx Context for the thread. - * \param fn Callback function for a poller. - * \param arg Argument passed to callback. - * \param period_microseconds Polling period in microseconds. - * - * \return a pointer to the poller on success, or NULL on failure. - */ -typedef struct spdk_poller *(*spdk_start_poller)(void *thread_ctx, - spdk_poller_fn fn, - void *arg, - uint64_t period_microseconds); - -/** - * Function to be called to stop a poller. - * - * \param poller Poller to stop. - * \param thread_ctx Context for the thread. - */ -typedef void (*spdk_stop_poller)(struct spdk_poller *poller, void *thread_ctx); - /** * Callback function to set poller into interrupt mode or back to poll mode. *