]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
threading: remove commented out function
authorVictor Julien <victor@inliniac.net>
Sun, 3 Nov 2019 19:13:33 +0000 (20:13 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 7 Feb 2020 14:43:10 +0000 (15:43 +0100)
src/tm-threads.c

index 5ad769f1b92382fe77b9dbadd2843600de249395..caa32d36640cb1b86b08f6bfaba1de064586c38c 100644 (file)
@@ -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
  *