]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
atomics: remove unused macros
authorVictor Julien <victor@inliniac.net>
Sun, 12 Apr 2020 10:00:57 +0000 (12:00 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 16 Apr 2020 12:37:34 +0000 (14:37 +0200)
src/util-atomic.h

index 410c1a43341b9bfcb33e4ebfc0605199d7f3099e..0b7e5593e9c3c7efdbf750929bfeea2ae41379ad 100644 (file)
 #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
  *