From: Juliana Fajardini Date: Tue, 23 Aug 2022 13:35:18 +0000 (-0300) Subject: decode: remove unused macros X-Git-Tag: suricata-6.0.7~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7803%2Fhead;p=thirdparty%2Fsuricata.git decode: remove unused macros With the recent changes, these macros weren't being used anymore. Related to Bug #5458 (cherry picked from commit e7727c3744bf1ec44d8cd74df6d8dd8bbd725ab8) --- diff --git a/src/decode.h b/src/decode.h index 14e8ae014a..308774c970 100644 --- a/src/decode.h +++ b/src/decode.h @@ -896,12 +896,6 @@ void CaptureStatsSetup(ThreadVars *tv, CaptureStats *s); #define PACKET_ACCEPT(p) PACKET_SET_ACTION(p, ACTION_ACCEPT) -#define PACKET_REJECT(p) PACKET_SET_ACTION(p, (ACTION_REJECT|ACTION_DROP)) - -#define PACKET_REJECT_DST(p) PACKET_SET_ACTION(p, (ACTION_REJECT_DST|ACTION_DROP)) - -#define PACKET_REJECT_BOTH(p) PACKET_SET_ACTION(p, (ACTION_REJECT_BOTH|ACTION_DROP)) - #define PACKET_PASS(p) PACKET_SET_ACTION(p, ACTION_PASS) #define PACKET_TEST_ACTION_DO(p, a) (p)->action &(a)