]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow/worker: remove unused detect thread arg
authorVictor Julien <vjulien@oisf.net>
Thu, 6 Apr 2023 13:31:12 +0000 (15:31 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 6 Apr 2023 14:11:56 +0000 (16:11 +0200)
src/flow-worker.c

index 8a6928af5f8f29ca04ff4ca235b921f79e7e6033..4b0b7baf89684911c3b9637baec9881dfe40c0f8 100644 (file)
@@ -459,8 +459,8 @@ static void FlowWorkerFlowTimeout(ThreadVars *tv, Packet *p, FlowWorkerThreadDat
 /** \internal
  *  \brief process flows injected into our queue by other threads
  */
-static inline void FlowWorkerProcessInjectedFlows(ThreadVars *tv,
-        FlowWorkerThreadData *fw, Packet *p, void *detect_thread)
+static inline void FlowWorkerProcessInjectedFlows(
+        ThreadVars *tv, FlowWorkerThreadData *fw, Packet *p)
 {
     /* take injected flows and append to our work queue */
     FLOWWORKER_PROFILING_START(p, PROFILE_FLOWWORKER_FLOW_INJECTED);
@@ -609,7 +609,7 @@ static TmEcode FlowWorker(ThreadVars *tv, Packet *p, void *data)
 housekeeping:
 
     /* take injected flows and add them to our local queue */
-    FlowWorkerProcessInjectedFlows(tv, fw, p, detect_thread);
+    FlowWorkerProcessInjectedFlows(tv, fw, p);
 
     /* process local work queue */
     FlowWorkerProcessLocalFlows(tv, fw, p, detect_thread);