From 539c1a275f641b797e408870061d2b5d4f01335c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sun, 3 Nov 2019 20:13:33 +0100 Subject: [PATCH] threading: remove commented out function --- src/tm-threads.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/tm-threads.c b/src/tm-threads.c index 5ad769f1b9..caa32d3664 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -1854,22 +1854,6 @@ TmEcode TmThreadSpawn(ThreadVars *tv) return TM_ECODE_OK; } -/** - * \brief Sets the thread flags for a thread instance(tv) - * - * \param tv Pointer to the thread instance for which the flag has to be set - * \param flags Holds the thread state this thread instance has to be set to - */ -#if 0 -void TmThreadSetFlags(ThreadVars *tv, uint8_t flags) -{ - if (tv != NULL) - tv->flags = flags; - - return; -} -#endif - /** * \brief Initializes the mutex and condition variables for this TV * -- 2.47.2