From: Victor Julien Date: Thu, 11 Apr 2024 14:24:51 +0000 (+0200) Subject: decode/tcp: remove unused macro X-Git-Tag: suricata-8.0.0-beta1~1394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1777e0314ec8d603d8772ccb37eb5a97ff475f73;p=thirdparty%2Fsuricata.git decode/tcp: remove unused macro SET_OPTS is now unused, so remove. --- diff --git a/src/decode-tcp.c b/src/decode-tcp.c index af29423d7e..90cfc357bd 100644 --- a/src/decode-tcp.c +++ b/src/decode-tcp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2013 Open Information Security Foundation +/* Copyright (C) 2007-2024 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -39,11 +39,6 @@ #include "util-optimize.h" #include "flow.h" -#define SET_OPTS(dst, src) \ - (dst).type = (src).type; \ - (dst).len = (src).len; \ - (dst).data = (src).data - static void DecodeTCPOptions(Packet *p, const uint8_t *pkt, uint16_t pktlen) { uint8_t tcp_opt_cnt = 0;