summaryrefslogtreecommitdiff
path: root/util/nvmutil/nvmutil.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-01 07:40:40 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-01 07:40:40 +0100
commit5a9fac2a63d0d11e7116f365c0cc5f6d101166cd (patch)
tree1dc40960967c075e01ed1221dfe79a5df62ae06b /util/nvmutil/nvmutil.c
parent6885200c8b34b15cfe85c7bb7a0334a1a9c63139 (diff)
util/nvmutil: remove unnecessary parentheses
Diffstat (limited to 'util/nvmutil/nvmutil.c')
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 2 insertions, 2 deletions
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];