[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1599716157-2826-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Thu, 10 Sep 2020 13:35:57 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] 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]
Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: linux-kernel@...r.kernel.org
---
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
Powered by blists - more mailing lists