Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp757098pxb; Wed, 16 Feb 2022 03:52:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGipLW00KoTPyDDKYg2U/EfxdQDpH00BeB9ijQva8EP+nzgyP+gPwh8v5iYkr9lO6Ask/7 X-Received: by 2002:a05:6402:168e:b0:410:d2a4:b0dd with SMTP id a14-20020a056402168e00b00410d2a4b0ddmr2475705edv.403.1645012362568; Wed, 16 Feb 2022 03:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645012362; cv=none; d=google.com; s=arc-20160816; b=pPG+dta9zwuSYd/Sq7kTU9p6Tm5baQuDYB6s3qltJofnZQkcHHjy5uP+yzZjASmbpj hbNZ99fG5OEzfcu5n+GzzbbYCi0ljmD1RaptpEvu95RhmSNyFK5ptH1hWRD4JKatD76Q bEpsle1WtxWe9Dv5aKiUR4XmoEl2tB+JZloXWbxiJaZaecGoYhCwkXG3+l1GqZJMTYpR 0cCAy/41UixGX5BpuihodvEmxU09tXGbotWSvGatH+cgIP8q11ylaWjsA6xrfFlJQ470 DUGNoYUjpM68VE7mez3ianxcMGUzVQSLMg+7t/ERO7Vny/Bw6OlBCNoH/H6LA1YRh1bi +7rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=T1QPWZCafbYyD8N6GdSIkV4L7vep+pPOcfjIg2+u5BQ=; b=q3AaY9t/2r3z8gsD+vPfAd7HjtVTXs/HKTH5hamJOelNgWQvSTeoaVNN9RQsCWdS9Q Aj65l2zJiSS7WkeMqSUyOfJPkyyDBjaLsWPqLGiZdG7tZ0+k5UBwc3lqa+TkluCXEkAx ypJIceAuoyezc5bWTqisTyLMsl/8QVPsMiJYqTg9Ot032MR769fG7JB0YcLEbEVXJbGD USCWalwpTmoccvAPFKXdkJ84or0Cm2rEmbetEb6/a5nP1vcsAG5g5SxEP380VLB+WKmO qAojsHa15sCHpkiN2OBzVwaX2oomv63A9vKW3puxQcM/rvoKT6e/EBsEp06GdGkZKNQ2 gHCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2si29631915ejw.952.2022.02.16.03.52.18; Wed, 16 Feb 2022 03:52:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232123AbiBPLoa (ORCPT + 99 others); Wed, 16 Feb 2022 06:44:30 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbiBPLo0 (ORCPT ); Wed, 16 Feb 2022 06:44:26 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AE0C8567A; Wed, 16 Feb 2022 03:44:13 -0800 (PST) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4JzGHS1t6Wz8wl6; Wed, 16 Feb 2022 19:40:52 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 16 Feb 2022 19:44:11 +0800 From: YueHaibing To: , , , , , , , , CC: , Subject: [PATCH -next] crypto: x86/blowfish - Remove unused inline functions Date: Wed, 16 Feb 2022 19:44:06 +0800 Message-ID: <20220216114406.22108-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is unused after commit c0a64926c53e ("crypto: x86/blowfish - drop CTR mode implementation") Signed-off-by: YueHaibing --- arch/x86/crypto/blowfish_glue.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index a880e0b1c255..fda6066437aa 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/crypto/blowfish_glue.c @@ -32,24 +32,12 @@ static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) __blowfish_enc_blk(ctx, dst, src, false); } -static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, - const u8 *src) -{ - __blowfish_enc_blk(ctx, dst, src, true); -} - static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, const u8 *src) { __blowfish_enc_blk_4way(ctx, dst, src, false); } -static inline void blowfish_enc_blk_xor_4way(struct bf_ctx *ctx, u8 *dst, - const u8 *src) -{ - __blowfish_enc_blk_4way(ctx, dst, src, true); -} - static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) { blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src); -- 2.17.1