diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 10:19:55 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-02 10:02:13 +0200 |
commit | ae6ee6ae2b4f4534664561161ef8087e08aff2d9 (patch) | |
tree | fd3965050b2784c11a4d6671770f80b5f079afd8 /lib/mpi/mpi-internal.h | |
parent | crypto: x86/poly1305 - Remove assignments with no effect (diff) | |
download | linux-ae6ee6ae2b4f4534664561161ef8087e08aff2d9.tar.xz linux-ae6ee6ae2b4f4534664561161ef8087e08aff2d9.zip |
lib/mpi: Fix unused variable warnings
This patch removes a number of unused variables and marks others
as unused in order to silence compiler warnings about them.
Fixes: a8ea8bdd9df9 ("lib/mpi: Extend the MPI library")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
-rw-r--r-- | lib/mpi/mpi-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpi/mpi-internal.h b/lib/mpi/mpi-internal.h index d29c4537c3a3..554002182db1 100644 --- a/lib/mpi/mpi-internal.h +++ b/lib/mpi/mpi-internal.h @@ -114,7 +114,7 @@ typedef int mpi_size_t; /* (must be a signed type) */ */ #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \ do { \ - mpi_limb_t _ql; \ + mpi_limb_t _ql __maybe_unused; \ mpi_limb_t _q, _r; \ mpi_limb_t _xh, _xl; \ umul_ppmm(_q, _ql, (nh), (di)); \ |