]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Remove NOTE(CONSTCOND) and note.h
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sat, 5 Jun 2021 14:02:41 +0000 (16:02 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 26 Jul 2021 19:07:53 +0000 (12:07 -0700)
These were mostly used to annotate do {} while(0)s

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Issue #12201

21 files changed:
include/sys/Makefile.am
include/sys/arc.h
include/sys/arc_impl.h
include/sys/bitops.h
include/sys/dbuf.h
include/sys/dnode.h
include/sys/dsl_dataset.h
include/sys/dsl_dir.h
include/sys/note.h [deleted file]
include/sys/spa.h
include/sys/zfs_context.h
lib/libnvpair/libnvpair.c
lib/libspl/include/os/linux/sys/sysmacros.h
module/icp/algs/skein/skein_impl.h
module/icp/io/skein_mod.c
module/os/freebsd/zfs/zio_crypt.c
module/zfs/arc.c
module/zfs/ddt.c
tests/zfs-tests/tests/functional/checksum/edonr_test.c
tests/zfs-tests/tests/functional/checksum/sha2_test.c
tests/zfs-tests/tests/functional/checksum/skein_test.c

index 385c82c926aebd47afe6ac77a0e3eb1c22f35a83..54573fbe1b1c77220bcbff4536e08aaa0aa8bcfc 100644 (file)
@@ -50,7 +50,6 @@ COMMON_H = \
        mntent.h \
        mod.h \
        multilist.h \
-       note.h \
        nvpair.h \
        nvpair_impl.h \
        objlist.h \
index ef07a657f53ce7f542203a1603c5c6efdaf5b47a..20fa47bd95641a1e5f154b563fef6df38d28c995 100644 (file)
@@ -49,12 +49,12 @@ extern "C" {
 #define        HDR_SET_LSIZE(hdr, x) do { \
        ASSERT(IS_P2ALIGNED(x, 1U << SPA_MINBLOCKSHIFT)); \
        (hdr)->b_lsize = ((x) >> SPA_MINBLOCKSHIFT); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        HDR_SET_PSIZE(hdr, x) do { \
        ASSERT(IS_P2ALIGNED((x), 1U << SPA_MINBLOCKSHIFT)); \
        (hdr)->b_psize = ((x) >> SPA_MINBLOCKSHIFT); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        HDR_GET_LSIZE(hdr)      ((hdr)->b_lsize << SPA_MINBLOCKSHIFT)
 #define        HDR_GET_PSIZE(hdr)      ((hdr)->b_psize << SPA_MINBLOCKSHIFT)
index 747100a220680319c64cf54e745c718b5e6ac578..f99d2911b5df90e1884bd38af9ada9d221a0577f 100644 (file)
@@ -360,7 +360,6 @@ typedef struct l2arc_lb_ptr_buf {
                void *tmp = (x);\
                x = y;          \
                y = tmp;        \
-               _NOTE(CONSTCOND)\
        } while (0)
 
 #define        L2ARC_DEV_HDR_MAGIC     0x5a46534341434845LLU   /* ASCII: "ZFSCACHE" */
index 56d52073bcc81eca04b14a1c92c675b53bee7142..69d07d76552aa244951ea417a934eedee861bbb2 100644 (file)
@@ -53,13 +53,13 @@ extern "C" {
        ASSERT3U(val, <, 1U << (len)); \
        ASSERT3U(low + len, <=, 32); \
        (x) ^= BF32_ENCODE((x >> low) ^ (val), low, len); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BF64_SET(x, low, len, val) do { \
        ASSERT3U(val, <, 1ULL << (len)); \
        ASSERT3U(low + len, <=, 64); \
        ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BF32_GET_SB(x, low, len, shift, bias)   \
        ((BF32_GET(x, low, len) + (bias)) << (shift))
@@ -69,19 +69,18 @@ _NOTE(CONSTCOND) } while (0)
 /*
  * We use ASSERT3U instead of ASSERT in these macros to prevent a lint error in
  * the case where val is a constant.  We can't fix ASSERT because it's used as
- * an expression in several places in the kernel; as a result, changing it to
- * the do{} while() syntax to allow us to _NOTE the CONSTCOND is not an option.
+ * an expression in several places in the kernel.
  */
 #define        BF32_SET_SB(x, low, len, shift, bias, val) do { \
        ASSERT3U(IS_P2ALIGNED(val, 1U << shift), !=, B_FALSE); \
        ASSERT3S((val) >> (shift), >=, bias); \
        BF32_SET(x, low, len, ((val) >> (shift)) - (bias)); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 #define        BF64_SET_SB(x, low, len, shift, bias, val) do { \
        ASSERT3U(IS_P2ALIGNED(val, 1ULL << shift), !=, B_FALSE); \
        ASSERT3S((val) >> (shift), >=, bias); \
        BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #ifdef __cplusplus
 }
index d2c175af649c349f4f1708b5acc0f06a54624a17..89422659d05ad707cd9c464fe206c51ca1be3ef1 100644 (file)
@@ -474,7 +474,7 @@ dbuf_find_dirty_eq(dmu_buf_impl_t *db, uint64_t txg)
            __db_buf, (dbuf)->db_level, \
            (u_longlong_t)(dbuf)->db_blkid, __VA_ARGS__); \
        } \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        dprintf_dbuf_bp(db, bp, fmt, ...) do {                  \
        if (zfs_flags & ZFS_DEBUG_DPRINTF) {                    \
@@ -483,7 +483,7 @@ _NOTE(CONSTCOND) } while (0)
        dprintf_dbuf(db, fmt " %s\n", __VA_ARGS__, __blkbuf);   \
        kmem_free(__blkbuf, BP_SPRINTF_LEN);                    \
        }                                                       \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        DBUF_VERIFY(db) dbuf_verify(db)
 
index 2cdc5b8798ad58f75477f85c3f40b67d9ce85778..e7cccd044abf7167f033d89ed1683619c8da8f26 100644 (file)
@@ -607,7 +607,7 @@ extern dnode_stats_t dnode_stats;
        dprintf_ds((dn)->dn_objset->os_dsl_dataset, "obj=%s " fmt, \
            __db_buf, __VA_ARGS__); \
        } \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        DNODE_VERIFY(dn)                dnode_verify(dn)
 #define        FREE_VERIFY(db, start, end, tx) free_verify(db, start, end, tx)
index ed934f969e926e51d54d2553418945fa83f2a2bf..3c9199b861c47544f04084a922539b02599b7315 100644 (file)
@@ -497,7 +497,7 @@ void dsl_dataset_activate_redaction(dsl_dataset_t *ds, uint64_t *redact_snaps,
        dprintf("ds=%s " fmt, __ds_name, __VA_ARGS__); \
        kmem_free(__ds_name, ZFS_MAX_DATASET_NAME_LEN); \
        } \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 #else
 #define        dprintf_ds(dd, fmt, ...)
 #endif
index d635b31404232234694489620866cd01daaea36e..993e44354475384464078f988efa104a498b8d2e 100644 (file)
@@ -218,7 +218,7 @@ void dsl_dir_cancel_waiters(dsl_dir_t *dd);
        dprintf("dd=%s " fmt, __ds_name, __VA_ARGS__); \
        kmem_free(__ds_name, ZFS_MAX_DATASET_NAME_LEN); \
        } \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 #else
 #define        dprintf_dd(dd, fmt, ...)
 #endif
diff --git a/include/sys/note.h b/include/sys/note.h
deleted file mode 100644 (file)
index 33b5476..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License").  You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright (c) 1994 by Sun Microsystems, Inc.
- */
-
-/*
- * sys/note.h: interface for annotating source with info for tools
- *
- * This is the underlying interface; NOTE (/usr/include/note.h) is the
- * preferred interface, but all exported header files should include this
- * file directly and use _NOTE so as not to take "NOTE" from the user's
- * namespace.  For consistency, *all* kernel source should use _NOTE.
- *
- * By default, annotations expand to nothing.  This file implements
- * that.  Tools using annotations will interpose a different version
- * of this file that will expand annotations as needed.
- */
-
-#ifndef        _SYS_NOTE_H
-#define        _SYS_NOTE_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef _NOTE
-#define        _NOTE(s)
-#endif
-
-#define        NOTE(s) _NOTE(s)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _SYS_NOTE_H */
index 05b31004b3a88dcb09a9048582633f59a3273aaa..f811d6f5a7432d70c134ead67b1739d7127a7b73 100644 (file)
@@ -328,7 +328,7 @@ typedef struct zio_cksum_salt {
 #define        BPE_SET_ETYPE(bp, t)    do { \
        ASSERT(BP_IS_EMBEDDED(bp)); \
        BF64_SET((bp)->blk_prop, 40, 8, t); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BPE_GET_LSIZE(bp)       \
        (ASSERT(BP_IS_EMBEDDED(bp)), \
@@ -336,7 +336,7 @@ _NOTE(CONSTCOND) } while (0)
 #define        BPE_SET_LSIZE(bp, x)    do { \
        ASSERT(BP_IS_EMBEDDED(bp)); \
        BF64_SET_SB((bp)->blk_prop, 0, 25, 0, 1, x); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BPE_GET_PSIZE(bp)       \
        (ASSERT(BP_IS_EMBEDDED(bp)), \
@@ -344,7 +344,7 @@ _NOTE(CONSTCOND) } while (0)
 #define        BPE_SET_PSIZE(bp, x)    do { \
        ASSERT(BP_IS_EMBEDDED(bp)); \
        BF64_SET_SB((bp)->blk_prop, 25, 7, 0, 1, x); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 typedef enum bp_embedded_type {
        BP_EMBEDDED_TYPE_DATA,
@@ -419,7 +419,7 @@ typedef struct blkptr {
        ASSERT(!BP_IS_EMBEDDED(bp)); \
        BF64_SET_SB((bp)->blk_prop, \
            0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BP_GET_PSIZE(bp)        \
        (BP_IS_EMBEDDED(bp) ? 0 : \
@@ -428,7 +428,7 @@ _NOTE(CONSTCOND) } while (0)
        ASSERT(!BP_IS_EMBEDDED(bp)); \
        BF64_SET_SB((bp)->blk_prop, \
            16, SPA_PSIZEBITS, SPA_MINBLOCKSHIFT, 1, x); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BP_GET_COMPRESS(bp)             \
        BF64_GET((bp)->blk_prop, 32, SPA_COMPRESSBITS)
@@ -444,7 +444,7 @@ _NOTE(CONSTCOND) } while (0)
 #define        BP_SET_CHECKSUM(bp, x)          do { \
        ASSERT(!BP_IS_EMBEDDED(bp)); \
        BF64_SET((bp)->blk_prop, 40, 8, x); \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 
 #define        BP_GET_TYPE(bp)                 BF64_GET((bp)->blk_prop, 48, 8)
 #define        BP_SET_TYPE(bp, x)              BF64_SET((bp)->blk_prop, 48, 8, x)
@@ -1193,7 +1193,7 @@ int param_set_deadman_failmode(ZFS_MODULE_PARAM_ARGS);
        dprintf(fmt " %s\n", __VA_ARGS__, __blkbuf);            \
        kmem_free(__blkbuf, BP_SPRINTF_LEN);                    \
        } \
-_NOTE(CONSTCOND) } while (0)
+} while (0)
 #else
 #define        dprintf_bp(bp, fmt, ...)
 #endif
index 4d67e652ab623cd030b5bc26cab5ffada3e9128f..80931f98eb975ad68f03d1167393cfd04de0bffe 100644 (file)
@@ -41,7 +41,6 @@ extern "C" {
  * similar environment.
  */
 #if defined(__KERNEL__) || defined(_STANDALONE)
-#include <sys/note.h>
 #include <sys/types.h>
 #include <sys/atomic.h>
 #include <sys/sysmacros.h>
@@ -104,7 +103,6 @@ extern "C" {
 #include <ctype.h>
 #include <signal.h>
 #include <sys/mman.h>
-#include <sys/note.h>
 #include <sys/types.h>
 #include <sys/cred.h>
 #include <sys/sysmacros.h>
index 2e9ea1c174e955ce1bbbbd21ea4ced0093e9440b..fd43a44c1c0d9aca971c1436c9c41d9067d0c4c0 100644 (file)
@@ -28,7 +28,6 @@
 #include <libintl.h>
 #include <sys/types.h>
 #include <sys/inttypes.h>
-#include <sys/note.h>
 #include <stdarg.h>
 #include "libnvpair.h"
 
@@ -191,9 +190,9 @@ static int \
 nvprint_##type_and_variant(nvlist_prtctl_t pctl, void *private, \
     nvlist_t *nvl, const char *name, vtype value) \
 { \
+       (void) private; \
+       (void) nvl; \
        FILE *fp = pctl->nvprt_fp; \
-       NOTE(ARGUNUSED(private)) \
-       NOTE(ARGUNUSED(nvl)) \
        indent(pctl, 1); \
        (void) fprintf(fp, pctl->nvprt_nmfmt, name); \
        (void) fprintf(fp, vfmt, (ptype)value); \
@@ -224,10 +223,10 @@ static int \
 nvaprint_##type_and_variant(nvlist_prtctl_t pctl, void *private, \
     nvlist_t *nvl, const char *name, vtype *valuep, uint_t count) \
 { \
+       (void) private; \
+       (void) nvl; \
        FILE *fp = pctl->nvprt_fp; \
        uint_t i; \
-       NOTE(ARGUNUSED(private)) \
-       NOTE(ARGUNUSED(nvl)) \
        for (i = 0; i < count; i++) { \
                if (i == 0 || pctl->nvprt_btwnarrfmt_nl) { \
                        indent(pctl, 1); \
index 22fcb04b94e0eb08239f760c312dbacdec9ed6b2..31f347c6fd5a26876d1a37c4cc77c5d191e394c7 100644 (file)
@@ -98,6 +98,4 @@
 #define        offsetof(s, m)  ((size_t)(&(((s *)0)->m)))
 #endif
 
-#define        _NOTE(x)
-
 #endif /* _LIBSPL_SYS_SYSMACROS_H */
index 205a517d69db73d675094b50d0873e5311791f71..2f6307fa7b551fee71d45c73f3da5fa6bc145559 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <sys/skein.h>
 #include <sys/strings.h>
-#include <sys/note.h>
 #include "skein_impl.h"
 #include "skein_port.h"
 
 #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)
        do {                                    \
                Skein_Set_T0(ctxPtr, (T0));     \
                Skein_Set_T1(ctxPtr, (T1));     \
-               _NOTE(CONSTCOND)                \
        } while (0)
 
 #define        Skein_Set_Type(ctxPtr, BLK_TYPE)        \
                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)
 
 /*
        do {                                    \
                if (!(x))                       \
                        return (retCode);       \
-               _NOTE(CONSTCOND)                \
        } while (0)
 /* internal error */
 #define        Skein_assert(x) ASSERT(x)
index 5ee36af12bcb53e794b7320f1fa527d1ac4be839..ac7d201eb70805dd5f6666ab2d066dd2ee23e637 100644 (file)
@@ -179,7 +179,6 @@ typedef struct skein_ctx {
                        (void) Skein1024_ ## _op(&sc->sc_1024, __VA_ARGS__);\
                        break;                                          \
                }                                                       \
-               _NOTE(CONSTCOND)                                        \
        } while (0)
 
 static int
index aeb42b304e7342602b0e4659d088d047c649d58d..832378a92a8d9c11438039e98545b6aeec33a9e7 100644 (file)
@@ -1060,7 +1060,6 @@ zio_crypt_do_objset_hmacs(zio_crypt_key_t *key, void *data, uint_t datalen,
        if (should_bswap)
                intval = BSWAP_64(intval);
        intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK;
-       /* CONSTCOND */
        if (!ZFS_HOST_BYTEORDER)
                intval = BSWAP_64(intval);
 
@@ -1100,7 +1099,6 @@ zio_crypt_do_objset_hmacs(zio_crypt_key_t *key, void *data, uint_t datalen,
        if (should_bswap)
                intval = BSWAP_64(intval);
        intval &= ~OBJSET_CRYPT_PORTABLE_FLAGS_MASK;
-       /* CONSTCOND */
        if (!ZFS_HOST_BYTEORDER)
                intval = BSWAP_64(intval);
 
index 75b1dcc82b5aac5a2008c08cc88aa83c80f379a3..69783afcd0755f2ab0d4d5d713e6630b24657888 100644 (file)
@@ -644,7 +644,6 @@ arc_sums_t arc_sums;
                x = x - x / ARCSTAT_F_AVG_FACTOR + \
                    (value) / ARCSTAT_F_AVG_FACTOR; \
                ARCSTAT(stat) = x; \
-               _NOTE(CONSTCOND) \
        } while (0)
 
 kstat_t                        *arc_ksp;
@@ -10738,7 +10737,6 @@ l2arc_log_blk_commit(l2arc_dev_t *dev, zio_t *pio, l2arc_write_callback_t *cb)
            dev->l2ad_log_blk_payload_asize;
        l2dhdr->dh_start_lbps[0].lbp_payload_start =
            dev->l2ad_log_blk_payload_start;
-       _NOTE(CONSTCOND)
        L2BLK_SET_LSIZE(
            (&l2dhdr->dh_start_lbps[0])->lbp_prop, sizeof (*lb));
        L2BLK_SET_PSIZE(
index 479e5a3ad62561e2d5a8fa50978e5476a8b9a63d..fe5a188f4da11014a16af0e323bb07b5f3d5848a 100644 (file)
@@ -570,7 +570,6 @@ ddt_compress(void *src, uchar_t *dst, size_t s_len, size_t d_len)
        }
 
        *version = cpfunc;
-       /* CONSTCOND */
        if (ZFS_HOST_BYTEORDER)
                *version |= DDT_COMPRESS_BYTEORDER_MASK;
 
index a88756091e3d7894005ec29b7222a28b60048afa..d8585ea4cf7ec0316f090bbbadbe7f36b729692d 100644 (file)
@@ -36,7 +36,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <sys/note.h>
 #include <sys/time.h>
 #include <sys/stdtypes.h>
 
@@ -167,7 +166,6 @@ main(int argc, char *argv[])
                        (void) printf("FAILED!\n");                     \
                        failed = B_TRUE;                                \
                }                                                       \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
 #define        EDONR_PERF_TEST(mode)                                           \
@@ -194,7 +192,6 @@ main(int argc, char *argv[])
                }                                                       \
                (void) printf("Edon-R-%-6s%llu us (%.02f CPB)\n", #mode,\
                    (u_longlong_t)delta, cpb);                          \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
        (void) printf("Running algorithm correctness tests:\n");
index 5800002a6ef7bd64b5bc4a638c59b1628ffd5f56..c7561b54f29e103ae188953f8415e26d945cded6 100644 (file)
@@ -40,7 +40,6 @@
 #define        _SHA2_IMPL
 #include <sys/sha2.h>
 #include <sys/stdtypes.h>
-#define NOTE(x)
 
 
 /*
@@ -196,7 +195,6 @@ main(int argc, char *argv[])
                        (void) printf("FAILED!\n");                     \
                        failed = B_TRUE;                                \
                }                                                       \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
 #define        SHA2_PERF_TEST(mode, diglen)                                    \
@@ -223,7 +221,6 @@ main(int argc, char *argv[])
                }                                                       \
                (void) printf("SHA%-9s%llu us (%.02f CPB)\n", #mode,    \
                    (u_longlong_t)delta, cpb);                          \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
        (void) printf("Running algorithm correctness tests:\n");
index 55df9075c66bc4396f64105b0543c0eff473db95..484fad844b7382a2c994649486cf93767dee1767 100644 (file)
@@ -38,7 +38,6 @@
 #include <stdio.h>
 #include <sys/time.h>
 #include <sys/stdtypes.h>
-#define NOTE(x)
 
 /*
  * Skein test suite using values from the Skein V1.3 specification found at:
@@ -285,7 +284,6 @@ main(int argc, char *argv[])
                        (void) printf("FAILED!\n");                     \
                        failed = B_TRUE;                                \
                }                                                       \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
 #define        SKEIN_PERF_TEST(mode, diglen)                                   \
@@ -314,7 +312,6 @@ main(int argc, char *argv[])
                }                                                       \
                (void) printf("Skein" #mode "/" #diglen "\t%llu us "    \
                    "(%.02f CPB)\n", (u_longlong_t)delta, cpb);         \
-               NOTE(CONSTCOND)                                         \
        } while (0)
 
        (void) printf("Running algorithm correctness tests:\n");