diff options
author | наб <[email protected]> | 2022-04-07 22:49:22 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-10 10:18:06 -0700 |
commit | 6fc34371e1df4d74dee6e50ffd9d9fae234b55ba (patch) | |
tree | 06e77015f473598789556b2a9b8afa380173a032 /module/icp | |
parent | be91239efaec7729d4eac334f94395aeb4699092 (diff) |
libzfs: pool: fix false-positives -Wmaybe-uninitialised
As noted by gcc (Debian 10.2.1-6) 10.2.1 20210110
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13316
Diffstat (limited to 'module/icp')
-rw-r--r-- | module/icp/algs/edonr/edonr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/icp/algs/edonr/edonr.c b/module/icp/algs/edonr/edonr.c index 6f3a43e26..9388a6f6b 100644 --- a/module/icp/algs/edonr/edonr.c +++ b/module/icp/algs/edonr/edonr.c @@ -47,10 +47,7 @@ #define hashState384(x) ((x)->pipe->p512) #define hashState512(x) ((x)->pipe->p512) -/* shift and rotate shortcuts */ -#define shl(x, n) ((x) << n) -#define shr(x, n) ((x) >> n) - +/* rotate shortcuts */ #define rotl32(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) #define rotr32(x, n) (((x) >> (n)) | ((x) << (32 - (n)))) |