Skip to contentSkip to conversation

lib/mpi: remove A_LIMB_1

PATCH New Alex Shi 1 participant 1 message Sep 10, 2020

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 lib/mpi: remove A_LIMB_1

After commit 7cf4206a99d1b3 Remove unused code from MPI library, the macro is not used anymore.

Remove it to tame gcc warning:
../lib/mpi/mpi-bit.c:24: warning: macro "A_LIMB_1" is not used [-Wunused-macros]

---
 lib/mpi/mpi-bit.c | 2 --
 1 file changed, 2 deletions(-)
lib/mpi/mpi-bit.c +0 -2
index 503537e08436..18030a01494f 100644
@@ -21,8 +21,6 @@
 #include "mpi-internal.h"
 #include "longlong.h"
 
-#define A_LIMB_1 ((mpi_limb_t) 1)
-
 /****************
  * Sometimes we have MSL (most significant limbs) which are 0;
  * this is for some reasons not good, so this function removes them.
Signature · 1 line
1.8.3.1