Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5561647iog; Thu, 23 Jun 2022 00:08:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s75E+GB6EXg3ads6mKkiN3QbUyzNQRd5a4VM/r6ia8/3R6sz3yU5iTmzLPmKAY9XB+kyVc X-Received: by 2002:a17:90a:590:b0:1ec:8884:7198 with SMTP id i16-20020a17090a059000b001ec88847198mr2506672pji.214.1655968088032; Thu, 23 Jun 2022 00:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655968088; cv=none; d=google.com; s=arc-20160816; b=RFjzPKsR8+WQPcJRaRVIpR8fOHpHv7TiXjse8hRUuW9d+Fz3dY/yi9lmj1WrN+7gGN xdI7t3po5GEJAgbRp0z5QeqWu+LICBIbauU9U0/jwDqV5zAD+zU99sPz4Z8eEe1r4AxT 55KKJbw71ewHB9JH6jnXZShQI3gUyjHpC/qasGa/E7zc+j3Cq5fWFspO5mwX3trqOWgj Sy9LdM0pF6kd3YLfJZLR0QYi0AizSw5YHDeAiTYwp5XG20JOWOEKI072JwVTmt68QRsO SO87zeAV1gsmtf2jb31r6Em23E72yPAKzwAV7qnCSoCrxqVxCaOhEQ+aE+fr9Rl1rc0D hKrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tKM3xvFOU9BbHzW/2uuQbOBzRGB1RdsYKFUv60RJdxg=; b=a9d0FSjeMYxhMJ5JUJ/Y6fhQpSabyYdozAw3KtpzWggVeQdzCOu3QCB6x4zYYTEcGz ZDq0aOqqPe3wWpPHU/WhXH8LhmvkI3tPZOw7SxzEjRn2hwMhPWjgb5HEkCoVqNneOgLr Q2z6kQHc3+oP1rVRC7ItGzm/EHp6f5u/he2y2fQu5N4YvHFLKkaTXXtyDJ1Q9kZvOeJd IXjxNTOd7CKw7kISD2NErhpoWA8Y0nJe3ATYHITEVrKgeuHiIimboBe3zpwp9XQ9fUDI Pub5UHi8VtT24Rkl/fOMVC7mSOWJeTzxEPvRvk3H4h9QS3vdm3cxqjhVR9oEzig2FWW1 L4MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=r8IqrvjR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22-20020a170902b21600b00161a8960004si23422743plr.473.2022.06.23.00.07.44; Thu, 23 Jun 2022 00:08:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=r8IqrvjR; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbiFWHG1 (ORCPT + 99 others); Thu, 23 Jun 2022 03:06:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbiFWHGP (ORCPT ); Thu, 23 Jun 2022 03:06:15 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF28845522 for ; Thu, 23 Jun 2022 00:06:13 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id 68so12863189pgb.10 for ; Thu, 23 Jun 2022 00:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tKM3xvFOU9BbHzW/2uuQbOBzRGB1RdsYKFUv60RJdxg=; b=r8IqrvjRWQT1pBFaEM8t6vVrtOXzX4aBi6mB5Zn9BhF6u/GdCpTiSIQ9EN1T89UQj6 Q/XstSt/4WvBdRHCDoYjxdqu/Vgo7gOXkXbKIbZt9KDUqp+AF2VlRc1jaq5ikvtO20pM ga4RO4zQnvyJ+UiOEdglRFUW06tX01Ty+kLquhYQlfE59ZMlmpKfe3q1I0acI9TWYsXf zlT54N/o/t/0rcF+Z3wh1GM7GMx7vddnwm/3OB3a1xADfJhWz61ioPANF44Dg1svLas/ ssRhFze6ur1kw8m5U1FZEow+xiZCpeVdIJbpPyTO59wLxKmlB3cIVfzbnRsQTQc6xrce ngfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tKM3xvFOU9BbHzW/2uuQbOBzRGB1RdsYKFUv60RJdxg=; b=LIrRx5PTcs9sgPzQIzy49gOoka4HvtZqM+5TyLlxVZR//JT754GqEZXsz5R1WfKJ86 JjG/gzShSY9vXh1TJUIqqVWBJWSfCV70i4TUw0tmr16Qz51lbUpRx/wJ9Z4vliQHZvBR VjJcXzHTRd+8zLGmVP0p1WqA32wMKqvcCajYtiXGTC3ijb8imJBJE1vnrvpPJiKr1ORB VnWwKHLpoaor95qTMc8RNg463nzllm6z8RuU57H35w10sq+GFiZ/1T4Bt/A4AyPqnQIX 45m3bUrP5EltgKvYEneoCudCleaMNraJIdFwcXe429vGvu8HPGY7J7bXZZVPExrpubHG TRQg== X-Gm-Message-State: AJIora9HtBJ/5NUIlFZMwFukx2mmW7EIv+oFJP/Qr8IATOfEvTXHQp0G /udUvee8DA5wYJ+/u9YQqPdlow== X-Received: by 2002:a63:b345:0:b0:409:fc0f:5d5c with SMTP id x5-20020a63b345000000b00409fc0f5d5cmr6274754pgt.587.1655967973467; Thu, 23 Jun 2022 00:06:13 -0700 (PDT) Received: from FVFDK26JP3YV.bytedance.net ([139.177.225.250]) by smtp.gmail.com with ESMTPSA id ji1-20020a170903324100b0016a15842cf5sm9125184plb.121.2022.06.23.00.06.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jun 2022 00:06:13 -0700 (PDT) From: Lei He To: davem@davemloft.net, herbert@gondor.apana.org.au, dhowells@redhat.com Cc: mst@redhat.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, berrange@redhat.com, pizhenwei@bytedance.com, lei he Subject: [PATCH v2 3/4] crypto: remove unused field in pkcs8_parse_context Date: Thu, 23 Jun 2022 15:05:49 +0800 Message-Id: <20220623070550.82053-4-helei.sig11@bytedance.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20220623070550.82053-1-helei.sig11@bytedance.com> References: <20220623070550.82053-1-helei.sig11@bytedance.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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-crypto@vger.kernel.org From: lei he remove unused field 'algo_oid' in pkcs8_parse_context Signed-off-by: lei he --- crypto/asymmetric_keys/pkcs8_parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/asymmetric_keys/pkcs8_parser.c b/crypto/asymmetric_keys/pkcs8_parser.c index e507c635ead5..f81317234331 100644 --- a/crypto/asymmetric_keys/pkcs8_parser.c +++ b/crypto/asymmetric_keys/pkcs8_parser.c @@ -21,7 +21,6 @@ struct pkcs8_parse_context { struct public_key *pub; unsigned long data; /* Start of data */ enum OID last_oid; /* Last OID encountered */ - enum OID algo_oid; /* Algorithm OID */ u32 key_size; const void *key; const void *algo_param; -- 2.20.1