From 5a9fac2a63d0d11e7116f365c0cc5f6d101166cd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 1 Jun 2023 07:40:40 +0100 Subject: util/nvmutil: remove unnecessary parentheses --- util/nvmutil/nvmutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index a1bf9b72..e6b4ddfb 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -66,8 +66,8 @@ void err_if(int condition); #define SIZE_4KB 0x1000 #define SIZE_8KB 0x2000 -#define word(pos16, partnum) (buf16[pos16 + (partnum << 11)]) -#define ERR() (errno = errno ? errno : ECANCELED) +#define word(pos16, partnum) buf16[pos16 + (partnum << 11)] +#define ERR() errno = errno ? errno : ECANCELED #define xorswap(x, y) x ^= y, y ^= x, x ^= y uint16_t buf16[SIZE_4KB]; -- cgit v1.2.1