Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp364043rwi; Fri, 14 Oct 2022 03:12:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CmHB9UkSCeJCFIwDkdaKPTqaMv0as+qyoVazwKQ1o4XpOKe6xc67PrlXuQ2bhtv/lXGlU X-Received: by 2002:a63:2318:0:b0:452:598a:92de with SMTP id j24-20020a632318000000b00452598a92demr3999324pgj.73.1665742326487; Fri, 14 Oct 2022 03:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665742326; cv=none; d=google.com; s=arc-20160816; b=cOwZAsbDKILrqdfXXHjNYxcH1nwHKaT63Ku4ur9wM/l+YAumXJ5VnIOmVYb4AJ59M8 jp8UM81RPp0Ocoxq9fGmsVHj+vaqPOXSIdWEg8rkVP9ID0oJAnB8ore9ucUf07tnrC/P msvA/wiyym8MhMWuiJ6Bdmqll2MGV7xMPp4HKXogKRuNxxAsc3fCT9MVPDopSe5RfA33 wtHKhavoYnHjhfw3nzUr1d3Qj0ChxqnDzIuEzfiEZDDZdcPrb/WGn1YQoMoaXe/P664G O2S42gyMyrWGavwZHAMgUeCWH1A1CzmL7PtO+Yym5lVVxcM70nUcs6ASYgUF+sMp+R/J t89w== 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=eK2HhZFuYKBw9Q1i1G+ZYdrg12Uwlkokjhvoi/Q+HPY=; b=uICW0YThPdu9mD6DETTfBt0HCy0IaYJVJLxsikd3yfjKYTgeeUJ3oYd+i15BHjVrrz IvlAixd9DZiJEQe/3+juNjYYMQHgwTtBOCPR5Aq5DTMNBiGcs7YpENPldsyadHs38eWA wvkHoxKfq58nCtNXMNFkpJbFSdig03MuQdqTcU1IRFRBQkcBCJ7rYImkxBBN09idLlTM 8FVSFSMhnsSGCFKdU9+SZc3VQYyCJwpiNotq9acGIvS+Fo5vVkUX2AmONfsBBuyXh4tM DGFmxp+0s4rxRyadlf/J0V4pN6dmcKAfnl2S0xWQ6twLPttH+oh9O6+q8mFTOfb+YQ/1 deGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google header.b=Q12kDcAz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a056a00248300b00536bbfa4994si2195766pfv.345.2022.10.14.03.11.49; Fri, 14 Oct 2022 03:12:06 -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=@cloudflare.com header.s=google header.b=Q12kDcAz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbiJNKIG (ORCPT + 99 others); Fri, 14 Oct 2022 06:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbiJNKIA (ORCPT ); Fri, 14 Oct 2022 06:08:00 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 893F11C8438 for ; Fri, 14 Oct 2022 03:07:57 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id bv10so6803402wrb.4 for ; Fri, 14 Oct 2022 03:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eK2HhZFuYKBw9Q1i1G+ZYdrg12Uwlkokjhvoi/Q+HPY=; b=Q12kDcAzx20GbyBwu82F09Ued3HbvtAmoSfgYktrLlHUxhFVva+VbCLnOORVMgJJ68 m1V2dJ2/LxOOba2XMIYnLgS00yWRtc9i/wJhpaeW1um5b8wTmHAL/expuRyQauiQFAsr U4WUyjJ1jSL6zmYaPgvpvjRXBmxUp+mv3JrwQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eK2HhZFuYKBw9Q1i1G+ZYdrg12Uwlkokjhvoi/Q+HPY=; b=ZIBuHUOppLAveGmet1mOLCNIExEJm+/RCeHhlW9BvBIKXGEoZ9PIkj7Mfm2FGhGB5s Fre2T2ZrD2tPqaJ7j1CGLJBhCbpanvp9azyZ+SIFhnQHh1WXCqB5AfbqjKyoxIrPomWV /LgIa9ewKOEujtMGi+pH+5mHqEKEaY5jin4F/XYwAoFMIYQ+hVvRcuQPZZskrG7t6qHs TY/E70c7DaHh0SJjKz80TGwBQjRqHxfGmH64Lrl8wNqulxej8yOmdbDfPJxnf+D+6D2A xq5rmfB2dtYWKQoYP0WLYaXUJGBXCZsqvDQZEPNP4ADgGPM/V87iX5CRBlRa246gmwsA /lnA== X-Gm-Message-State: ACrzQf2MmDKRRlAHRMZ3VBglNDqiLXkXndUnTEJsB1Zt5NmjKCnC8J+N H+/wOSyxC7dtBZQ23IlaqrDKCnK+jd9wrA== X-Received: by 2002:adf:ea04:0:b0:22e:6545:9963 with SMTP id q4-20020adfea04000000b0022e65459963mr2748701wrm.417.1665742075710; Fri, 14 Oct 2022 03:07:55 -0700 (PDT) Received: from localhost.localdomain ([2a02:c7c:5308:6600:49a0:d6bf:5c1a:f3da]) by smtp.gmail.com with ESMTPSA id c15-20020a5d414f000000b002285f73f11dsm1931008wrq.81.2022.10.14.03.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 03:07:55 -0700 (PDT) From: Ignat Korchagin To: David Howells , Herbert Xu , "David S. Miller" , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel-team@cloudflare.com, lei he Subject: [PATCH v2 4/4] crypto: remove unused field in pkcs8_parse_context Date: Fri, 14 Oct 2022 11:07:37 +0100 Message-Id: <20221014100737.94742-5-ignat@cloudflare.com> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20221014100737.94742-1-ignat@cloudflare.com> References: <20221014100737.94742-1-ignat@cloudflare.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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.30.2