aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/algs/skein
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-05 16:02:41 +0200
committerBrian Behlendorf <[email protected]>2021-07-26 12:07:53 -0700
commit037af3e0d403e3850c5d4b0bc4854911013a6a15 (patch)
tree7a3a1377bcae57eb08348a18ddd5d0058802df0a /module/icp/algs/skein
parent2c69ba6444ad5c1eb54342964149c3095504c401 (diff)
Remove NOTE(CONSTCOND) and note.h
These were mostly used to annotate do {} while(0)s Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Issue #12201
Diffstat (limited to 'module/icp/algs/skein')
-rw-r--r--module/icp/algs/skein/skein_impl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/module/icp/algs/skein/skein_impl.h b/module/icp/algs/skein/skein_impl.h
index 205a517d6..2f6307fa7 100644
--- a/module/icp/algs/skein/skein_impl.h
+++ b/module/icp/algs/skein/skein_impl.h
@@ -26,7 +26,6 @@
#include <sys/skein.h>
#include <sys/strings.h>
-#include <sys/note.h>
#include "skein_impl.h"
#include "skein_port.h"
@@ -139,7 +138,6 @@
#define Skein_Set_Tweak(ctxPtr, TWK_NUM, tVal) \
do { \
(ctxPtr)->h.T[TWK_NUM] = (tVal); \
- _NOTE(CONSTCOND) \
} while (0)
#define Skein_Get_T0(ctxPtr) Skein_Get_Tweak(ctxPtr, 0)
@@ -152,7 +150,6 @@
do { \
Skein_Set_T0(ctxPtr, (T0)); \
Skein_Set_T1(ctxPtr, (T1)); \
- _NOTE(CONSTCOND) \
} while (0)
#define Skein_Set_Type(ctxPtr, BLK_TYPE) \
@@ -166,24 +163,20 @@
Skein_Set_T0_T1(ctxPtr, 0, SKEIN_T1_FLAG_FIRST | \
SKEIN_T1_BLK_TYPE_ ## BLK_TYPE); \
(ctxPtr)->h.bCnt = 0; \
- _NOTE(CONSTCOND) \
} while (0)
#define Skein_Clear_First_Flag(hdr) \
do { \
(hdr).T[1] &= ~SKEIN_T1_FLAG_FIRST; \
- _NOTE(CONSTCOND) \
} while (0)
#define Skein_Set_Bit_Pad_Flag(hdr) \
do { \
(hdr).T[1] |= SKEIN_T1_FLAG_BIT_PAD; \
- _NOTE(CONSTCOND) \
} while (0)
#define Skein_Set_Tree_Level(hdr, height) \
do { \
(hdr).T[1] |= SKEIN_T1_TREE_LEVEL(height); \
- _NOTE(CONSTCOND) \
} while (0)
/*
@@ -212,7 +205,6 @@
do { \
if (!(x)) \
return (retCode); \
- _NOTE(CONSTCOND) \
} while (0)
/* internal error */
#define Skein_assert(x) ASSERT(x)