Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2914673pxa; Tue, 18 Aug 2020 01:06:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuoBQoOWFBQeJ+pGpwvU5m2cofgBA12ZMoVZWFce55CuyJwqW2G/u7Y2u5jgNLZ4FaX8hV X-Received: by 2002:a17:906:4ec6:: with SMTP id i6mr18817707ejv.358.1597738016914; Tue, 18 Aug 2020 01:06:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597738016; cv=none; d=google.com; s=arc-20160816; b=oeaFcHRRSR9dAaax0yGdmzwOm9/rJ89uHk0ebR7Dlc2Lzyu7DoTytOCn+3jhXn5lto PgMQtfsOjOKvR/X6x08aC0z7LWMRXoy0E488x/tKy306yd/EhplCH40ORNu6fGIFQb0a cs7qN4wf7rO6lWLlccBN3iqS8Px5pVx6U7SdbmHiOEnFKrYsFJmVFeOWlhYL0d3Bhnt3 Sz6NumVsyCe18kpOFMKoFz6wPGtuzKx1SZ/KVTEGvoQkIw1PLKHunsPm+R2erxwImnkh 5leFBrzkOCzIQiIH4iB7BJdzYi4KEpTqstx1SpsEICHugXlUoI3qYeLOGOWhzxTmpteo 9xdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=nfux7gpVCRhH5POOlNq4snHEBl/EICSYWJPTb7OGOvE=; b=ZTHAD/BCdXGfCJ+SKCd5rUrysfwUpgUgfm8PsGEnWZeKwBbjEwXyjdLYTcC7zBeurC LGp5rhrhNuyL0vtK2r8bcL6C33J31VJBxTgVY4T/2pU1v+Pxj6F6Z8n5LfKPlWYISwAa Qq/ITbEqwWwKqd2efyHjeFASRbAVj4Y9xF0+eKPNSz211y4RZhVBWy9WY+ZAKFNzw5g1 L31SfZxKz6KGXuUN7dAmbVZfDQ8ZrI+Xrx7tNO7WrjngzZw8RdWz0rChoAQqpVGWcWW4 IjXvE5JS6Wp61gfaOnnWt5THUfkO3LPFrg69l2wcfcYxk8WkVdi5ML6CJSDwLZ8S60+e 2PDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lk1si12980586ejb.504.2020.08.18.01.06.21; Tue, 18 Aug 2020 01:06:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbgHRIGJ (ORCPT + 99 others); Tue, 18 Aug 2020 04:06:09 -0400 Received: from smtp23.cstnet.cn ([159.226.251.23]:60258 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726203AbgHRIGI (ORCPT ); Tue, 18 Aug 2020 04:06:08 -0400 Received: from localhost (unknown [159.226.5.99]) by APP-03 (Coremail) with SMTP id rQCowABXXxviiztfqBYkAw--.19991S2; Tue, 18 Aug 2020 16:05:54 +0800 (CST) From: Xu Wang To: herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Xu Wang Subject: [PATCH] Remove unneeded variable t1 Date: Tue, 18 Aug 2020 08:05:53 +0000 Message-Id: <20200818080553.12064-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: rQCowABXXxviiztfqBYkAw--.19991S2 X-Coremail-Antispam: 1UD129KBjvdXoWrKrWkKrWkAF4rGFy7ArW8WFg_yoWDGFg_Aa yrWFn7WFn5A39Yvw45Xan8Xas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CQUMA102Zgh+7AAAsU Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Remove unneeded variable t1 seed_encrypt() and seed_decrypt(). Signed-off-by: Xu Wang --- crypto/seed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/seed.c b/crypto/seed.c index 5e3bef3a617d..69b3058d6a32 100644 --- a/crypto/seed.c +++ b/crypto/seed.c @@ -366,7 +366,7 @@ static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); const __be32 *src = (const __be32 *)in; __be32 *dst = (__be32 *)out; - u32 x1, x2, x3, x4, t0, t1; + u32 x1, x2, x3, x4, t0; const u32 *ks = ctx->keysched; x1 = be32_to_cpu(src[0]); @@ -404,7 +404,7 @@ static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); const __be32 *src = (const __be32 *)in; __be32 *dst = (__be32 *)out; - u32 x1, x2, x3, x4, t0, t1; + u32 x1, x2, x3, x4, t0; const u32 *ks = ctx->keysched; x1 = be32_to_cpu(src[0]); -- 2.17.1