]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
lib: remove SCRunModeLibDestroyWorker
authorJason Ish <jason.ish@oisf.net>
Fri, 4 Oct 2024 22:27:28 +0000 (16:27 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 1 Apr 2025 08:17:05 +0000 (10:17 +0200)
This was a one line wrapper around SCTmThreadsSlotPktAcqLoopFinish, so
library users can call that directly instead.

Ticket: #7240

src/runmode-lib.c
src/runmode-lib.h

index 94ed43b834329dc6f3b60638b004a6849295eb4f..c094f6f868034de8934ba0dabc4efab46edf9939 100644 (file)
@@ -104,9 +104,3 @@ int SCRunModeLibSpawnWorker(void *td)
     TmThreadsSetFlag(tv, THV_RUNNING);
     return 0;
 }
-
-/** \brief destroy a worker thread */
-void SCRunModeLibDestroyWorker(void *td)
-{
-    SCTmThreadsSlotPktAcqLoopFinish((ThreadVars *)td);
-}
index 0e37d3db4851f38744b617d6d877b80b019bcb2a..f6e5ff65fbfa5b66e4d2f3dd38968490da38ef5b 100644 (file)
@@ -57,7 +57,4 @@ ThreadVars *SCRunModeLibCreateThreadVars(int worker_id);
  */
 int SCRunModeLibSpawnWorker(void *);
 
-/** \brief destroy a worker thread */
-void SCRunModeLibDestroyWorker(void *);
-
 #endif /* SURICATA_RUNMODE_LIB_H */