From patchwork Thu Oct 15 18:34:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 7408861 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 289CFBEEA4 for ; Thu, 15 Oct 2015 18:35:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D817204C9 for ; Thu, 15 Oct 2015 18:35:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98A602055C for ; Thu, 15 Oct 2015 18:35:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752894AbbJOSfg (ORCPT ); Thu, 15 Oct 2015 14:35:36 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:33559 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752613AbbJOSfe (ORCPT ); Thu, 15 Oct 2015 14:35:34 -0400 Received: by lffv3 with SMTP id v3so41695220lff.0; Thu, 15 Oct 2015 11:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VGGtBYQAUdZ6amYgk9T6tmbcNHvWL3BwS6+hx0i/nYM=; b=J6WWtwEkRB6vngzLc+Mgi5LRLRvZqzCDZn/qGGMe9HodTtFdSQt86scinpIdv1APfr omOd5okaMH3hhaUC2CWJ8ktgyCeyHXZAv2UAyALuFluO+VKG+xdRL5D41ZjFq72zdc6q oCnR+Dm3d1wcpW1IIg0jv2216G6rK784da8OgKX2q0VlXAZh+2yUDO5ncl6TFpFZ39Ck XmewS5ogLgpuL20Hd+5IygFCcfH8Hxvi3VlU27GKt6y9vClOV2LWTGaB/5S94e5KeA1z sX449qktYPb5OhQKE82WOKXSXCF2+SRl9Yj1ndWeVdBp42k0bfd/0jyXNfq/O0DrDqnW 9Afw== X-Received: by 10.180.149.211 with SMTP id uc19mr291409wib.50.1444934133111; Thu, 15 Oct 2015 11:35:33 -0700 (PDT) Received: from Red.local (ANice-651-1-191-74.w83-197.abo.wanadoo.fr. [83.197.127.74]) by smtp.googlemail.com with ESMTPSA id i10sm17961665wjz.41.2015.10.15.11.35.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Oct 2015 11:35:32 -0700 (PDT) From: LABBE Corentin To: clabbe.montjoie@gmail.com, herbert@gondor.apana.org.au, tadeusz.struk@intel.com Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH Date: Thu, 15 Oct 2015 20:34:53 +0200 Message-Id: <1444934124-3883-1-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.4.9 In-Reply-To: <1444849860-16334-1-git-send-email-clabbe.montjoie@gmail.com> References: <1444849860-16334-1-git-send-email-clabbe.montjoie@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it. Signed-off-by: LABBE Corentin --- include/linux/mpi.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/mpi.h b/include/linux/mpi.h index 641b7d6..a792b38 100644 --- a/include/linux/mpi.h +++ b/include/linux/mpi.h @@ -32,12 +32,6 @@ #include -/* DSI defines */ - -#define SHA1_DIGEST_LENGTH 20 - -/*end of DSI defines */ - #define BYTES_PER_MPI_LIMB (BITS_PER_LONG / 8) #define BITS_PER_MPI_LIMB BITS_PER_LONG