From: Victor Julien Date: Thu, 6 Apr 2023 13:31:12 +0000 (+0200) Subject: flow/worker: remove unused detect thread arg X-Git-Tag: suricata-7.0.0-rc2~449 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4176c7df6a47ac1e6993aa1de45cca3c84bedaa3;p=thirdparty%2Fsuricata.git flow/worker: remove unused detect thread arg --- diff --git a/src/flow-worker.c b/src/flow-worker.c index 8a6928af5f..4b0b7baf89 100644 --- a/src/flow-worker.c +++ b/src/flow-worker.c @@ -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);