From patchwork Thu Sep 8 20:00:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ignat Korchagin X-Patchwork-Id: 605389 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 911E8C38145 for ; Thu, 8 Sep 2022 20:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiIHUBr (ORCPT ); Thu, 8 Sep 2022 16:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbiIHUBo (ORCPT ); Thu, 8 Sep 2022 16:01:44 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AE56FE4BC for ; Thu, 8 Sep 2022 13:01:14 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id b16so26041710edd.4 for ; Thu, 08 Sep 2022 13:01:14 -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; bh=9Po1p0rTvG7YGCHnTloMal9wCRi9fHpBptpbCbwsONI=; b=uq/1F+Jn3KbvrIbwUC2FgQsMGBcoqJcPk14nCHeuSDtIvGx0FY/HErATB7IZ7X/0Be 0x44zT1EiYD9LjBFOY2kB3tCyd2Zz/dY7Wv7qF4PZPpU7Ox8h+oq0REI93GPX1TB4RBP aqq6GROLpsYHNtuc5LG0LEMWchpTXs+e+Fmp8= 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; bh=9Po1p0rTvG7YGCHnTloMal9wCRi9fHpBptpbCbwsONI=; b=Zzwu+gVU65WNvNLdwLeFivhpmPOlbccEPuwv8JX2QrXqcKTUovNvNQOHZzzLhs4/ZJ nPTmL5k2zdbpAV4l6FQlw+0kMHkeuyTq4uRMV0nW7fE/nLLaxRO5T6gentN/BVRkIpSK NZ5zRaaYx1+ZNDZwZdUh3OMyrtxHzS8Mp8Og4iuZK4g//VKlpVoSXfj9HKGpfzp9VNwi A6N7/D9pOBYvVmqO6nmQ3vIWWUWGHrf61qTfCmP7rpKoBO24lRfUYjkiULu1KW3U4CEl SpX35nxACIoAIDqrvLAzk8FEPl1DWScj+cTQqtkvBddZdytx45PXZWAsIwWev4qPSdmJ J91w== X-Gm-Message-State: ACgBeo1F96SByidJEV8QJnxFCw9oXVm5wnJYe9QnOXVQ+9kTFPWiDyc5 Gt5ayJhR1LgDHf6K4tj8t0RxUzSqYjr+9g== X-Google-Smtp-Source: AA6agR4npFZGDVBKRyr5tobS4dLlprhevP2ZMxeJFfZyZE6JGoNKnvhUohU2xcPhJez/GiGB2UK7Rg== X-Received: by 2002:a05:6402:e94:b0:443:e3fe:7c87 with SMTP id h20-20020a0564020e9400b00443e3fe7c87mr8865411eda.144.1662667272600; Thu, 08 Sep 2022 13:01:12 -0700 (PDT) Received: from localhost.localdomain ([104.28.243.158]) by smtp.gmail.com with ESMTPSA id kx11-20020a170907774b00b00778e3e2830esm521202ejc.9.2022.09.08.13.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 13:01:12 -0700 (PDT) From: Ignat Korchagin To: Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lei he , kernel-team@cloudflare.com Subject: [PATCH 4/4] crypto: remove unused field in pkcs8_parse_context Date: Thu, 8 Sep 2022 21:00:36 +0100 Message-Id: <20220908200036.2034-5-ignat@cloudflare.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220908200036.2034-1-ignat@cloudflare.com> References: <20220908200036.2034-1-ignat@cloudflare.com> MIME-Version: 1.0 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(-) -- 2.36.1 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;