diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-01 07:40:40 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-01 07:40:40 +0100 |
commit | 5a9fac2a63d0d11e7116f365c0cc5f6d101166cd (patch) | |
tree | 1dc40960967c075e01ed1221dfe79a5df62ae06b | |
parent | 6885200c8b34b15cfe85c7bb7a0334a1a9c63139 (diff) |
util/nvmutil: remove unnecessary parentheses
-rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
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]; |