From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E285C43461 for ; Thu, 10 Sep 2020 05:36:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD05A207EA for ; Thu, 10 Sep 2020 05:36:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbgIJFgE (ORCPT ); Thu, 10 Sep 2020 01:36:04 -0400 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]:48508 "EHLO out30-133.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbgIJFgC (ORCPT ); Thu, 10 Sep 2020 01:36:02 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=1;SR=0;TI=SMTPD_---0U8T1QsA_1599716159; Received: from aliy80.localdomain(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U8T1QsA_1599716159) by smtp.aliyun-inc.com(127.0.0.1); Thu, 10 Sep 2020 13:35:59 +0800 From: Alex Shi Cc: linux-kernel@vger.kernel.org Subject: [PATCH] lib/mpi: remove A_LIMB_1 Date: Thu, 10 Sep 2020 13:35:57 +0800 Message-Id: <1599716157-2826-1-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: linux-kernel@vger.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