mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Remove NOTE(CONSTCOND) and note.h
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user