decode/tcp: remove unused macro

SET_OPTS is now unused, so remove.
pull/10971/head
Victor Julien 11 months ago committed by Victor Julien
parent 6b8093d7b8
commit 1777e0314e

@ -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;

Loading…
Cancel
Save