]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: remove ticker 6371/head
authorVictor Julien <victor@inliniac.net>
Sat, 11 Sep 2021 07:50:36 +0000 (09:50 +0200)
committerVictor Julien <victor@inliniac.net>
Sat, 11 Sep 2021 09:01:44 +0000 (11:01 +0200)
Last consumer of it has been converted.

src/detect.c
src/detect.h

index beefebcc61969ff80137561c0144dd8c631e3172..2cdcfa7ab470b195f60b1b167fe43616895720be 100644 (file)
@@ -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;
index 3cd601878dfa8d7cef4d797e1ac453bee1e3a481..0ee38427579131a52513040e2ee7f9281de84366 100644 (file)
@@ -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;