2020-01-21 08:36:20

by Alex Shi

[permalink] [raw]
Subject: [PATCH] lib/mpi: remove unused macro A_LIMB_1

This macro isn't used from commit 7cf4206a99d1 ("Remove unused code from
MPI library"). so better to remove it.

Signed-off-by: Alex Shi <[email protected]>
Cc: Dmitry Kasatkin <[email protected]>
Cc: [email protected]
---
lib/mpi/mpi-bit.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/lib/mpi/mpi-bit.c b/lib/mpi/mpi-bit.c
index 503537e08436..18030a01494f 100644
--- a/lib/mpi/mpi-bit.c
+++ b/lib/mpi/mpi-bit.c
@@ -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.
--
1.8.3.1