From: Victor Julien Date: Fri, 29 Dec 2023 08:22:14 +0000 (+0100) Subject: detect/mpm: minor cleanup X-Git-Tag: suricata-8.0.0-beta1~1860 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bf60aa3a8476323403ec06c8259c4e7e182855;p=thirdparty%2Fsuricata.git detect/mpm: minor cleanup --- diff --git a/src/detect-engine-mpm.c b/src/detect-engine-mpm.c index 84f9a6c8fe..02e63c5f89 100644 --- a/src/detect-engine-mpm.c +++ b/src/detect-engine-mpm.c @@ -944,10 +944,8 @@ uint32_t PatternStrength(uint8_t *pat, uint16_t patlen) return s; } -static void PopulateMpmHelperAddPattern(MpmCtx *mpm_ctx, - const DetectContentData *cd, - const Signature *s, uint8_t flags, - int chop) +static void PopulateMpmHelperAddPattern(MpmCtx *mpm_ctx, const DetectContentData *cd, + const Signature *s, const uint8_t flags, const int chop) { uint16_t pat_offset = cd->offset; uint16_t pat_depth = cd->depth;