From: Victor Julien Date: Sun, 3 Nov 2019 19:13:33 +0000 (+0100) Subject: threading: remove commented out function X-Git-Tag: suricata-6.0.0-beta1~814 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539c1a275f641b797e408870061d2b5d4f01335c;p=thirdparty%2Fsuricata.git threading: remove commented out function --- 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 *