From: Victor Julien Date: Sun, 12 Apr 2020 10:00:57 +0000 (+0200) Subject: atomics: remove unused macros X-Git-Tag: suricata-6.0.0-beta1~508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b9d17b4854f82561be73523dce8520bcb49b1d2;p=thirdparty%2Fsuricata.git atomics: remove unused macros --- diff --git a/src/util-atomic.h b/src/util-atomic.h index 410c1a4334..0b7e5593e9 100644 --- a/src/util-atomic.h +++ b/src/util-atomic.h @@ -217,24 +217,6 @@ #define SC_ATOMIC_AND(name, val) \ SCAtomicFetchAndAnd(&(name ## _sc_atomic__), (val)) -/** - * \brief Bitwise NAND a value to our atomic variable - * - * \param name the atomic variable - * \param val the value to NAND to the variable - */ -#define SC_ATOMIC_NAND(name, val) \ - SCAtomicFetchAndNand(&(name ## _sc_atomic__), (val)) - -/** - * \brief Bitwise XOR a value to our atomic variable - * - * \param name the atomic variable - * \param val the value to XOR to the variable - */ -#define SC_ATOMIC_XOR(name, val) \ - SCAtomicFetchAndXor(&(name ## _sc_atomic__), (val)) - /** * \brief atomic Compare and Switch *