}
/** \brief cleans up the mpm instance after a match */
-void PacketPatternCleanup(ThreadVars *t, DetectEngineThreadCtx *det_ctx)
+void PacketPatternCleanup(DetectEngineThreadCtx *det_ctx)
{
PmqReset(&det_ctx->pmq);
}
uint16_t PatternMatchDefaultMatcher(void);
uint32_t DnsQueryPatternSearch(DetectEngineThreadCtx *det_ctx, uint8_t *buffer, uint32_t buffer_len, uint8_t flags);
-void PacketPatternCleanup(ThreadVars *, DetectEngineThreadCtx *);
+void PacketPatternCleanup(DetectEngineThreadCtx *);
void PatternMatchPrepare(MpmCtx *, uint16_t);
void PatternMatchThreadPrepare(MpmThreadCtx *, uint16_t type);
PACKET_PROFILING_DETECT_START(p, PROF_DETECT_CLEANUP);
/* cleanup pkt specific part of the patternmatcher */
- PacketPatternCleanup(th_v, det_ctx);
+ PacketPatternCleanup(det_ctx);
/* store the found sgh (or NULL) in the flow to save us from looking it
* up again for the next packet. Also return any stream chunk we processed