From: Victor Julien Date: Sat, 11 Sep 2021 07:50:36 +0000 (+0200) Subject: detect: remove ticker X-Git-Tag: suricata-7.0.0-beta1~1423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe71bb7737b872a8e80cdd7f190f28ff8cea8a9;p=thirdparty%2Fsuricata.git detect: remove ticker Last consumer of it has been converted. --- diff --git a/src/detect.c b/src/detect.c index beefebcc61..2cdcfa7ab4 100644 --- a/src/detect.c +++ b/src/detect.c @@ -833,7 +833,6 @@ static DetectRunScratchpad DetectRunSetup( #ifdef UNITTESTS p->alerts.cnt = 0; #endif - det_ctx->ticker++; det_ctx->filestore_cnt = 0; det_ctx->base64_decoded_len = 0; det_ctx->raw_stream_progress = 0; diff --git a/src/detect.h b/src/detect.h index 3cd601878d..0ee3842757 100644 --- a/src/detect.h +++ b/src/detect.h @@ -1005,9 +1005,6 @@ typedef struct DetectEngineThreadCtx_ { * on this being the first member */ uint32_t tenant_id; - /** ticker that is incremented once per packet. */ - uint64_t ticker; - /* the thread to which this detection engine thread belongs */ ThreadVars *tv;