From: Shivani Bhardwaj Date: Thu, 1 Feb 2024 09:50:15 +0000 (+0530) Subject: detect: remove unused port in SigGroupHeadInitData X-Git-Tag: suricata-8.0.0-beta1~1801 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=264101ba22a3e28ffb2293e15e324412f97d5126;p=thirdparty%2Fsuricata.git detect: remove unused port in SigGroupHeadInitData port is not used and logically makes sense to not be in this struct as this struct is already referenced by DetectPort itself as a part of SigGroupHead. --- diff --git a/src/detect.h b/src/detect.h index 0fc5d21fb1..e7cc0dfe93 100644 --- a/src/detect.h +++ b/src/detect.h @@ -1434,9 +1434,6 @@ typedef struct SigGroupHeadInitData_ { /** Array with sig ptrs... size is sig_cnt * sizeof(Signature *) */ Signature **match_array; - - /* port ptr */ - struct DetectPort_ *port; } SigGroupHeadInitData; /** \brief Container for matching data for a signature group */