From patchwork Tue Jul 20 05:53:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 481487 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4810817jao; Mon, 19 Jul 2021 22:53:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxD0IN0gZCkiSXkAGpPY4MZcvBT58qUG3T5byO33OwcacW5w5TAr4gzxy/HbzcK5y/xtEF6 X-Received: by 2002:a05:6402:207b:: with SMTP id bd27mr38112954edb.195.1626760423341; Mon, 19 Jul 2021 22:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626760423; cv=none; d=google.com; s=arc-20160816; b=xFNjpM+myJCK4wlJJksTClUexPgHDldtlDOfu05TuTG4r2eoLozLTvopPSpwVxggVg 5zYsNaz7hw6DXEIJchb9Yjod3KG3bK/LZutEkHdkjdTsT8TwYgMXrv8D6tKdc4sDNk/a +aSkP82XQUuqlCkMhb/wD6XFl/FNFlQWCPuEQmS3HMdyoYmGS14VZycxl7OI8wStLv7m RzjKhdbd4MuWLwIERvjgiHRVmqGpmF17fszJFyJbJ4lfePKP9zJ9VP3lGfT+jtigttxn KBzw4BxISAMZflhkDqphMqay9wb2gsTRCpOG09jElFQVa7wWTlA4y3LvadHgd0bunMLw BhLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=yKq0kC2fJ+MAw+p01NpuOMyiTYn9iVFRV8ZsBF5IaXg=; b=o48pGFFfwkpXppPr5LGxhbxIvvOfBw1qFnYpMFrRtEP+rXF+f8VI9yuWM9EDBc57Ho Mqmp8YApKaw4cNMQdPxyHMshUeOiNIMmoqw1OeASh6xCj6Yp4CEGPzJN4IcB6f/LMj+9 fzu7FAOSXa4UJo1Q4NwlTjsCLHChfIz8/c8nq9JLFR1dkNBHqZcL/isnxPz0e7t2QD64 A7GjdgSLcxcTE43m00VajbIbUluD8kPG7nrnfBV3xLkDXS3WIrnxn38NQFzYjSf+ey9c qVOZFqmZL/BbCGAPcG9IDhaVaT4Dxn0H+BCBuxhEmFVXT0ix6uWtphuAQg1Bq/sTScIM xtDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l0GAWDj/"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id m7si9622600edq.246.2021.07.19.22.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 22:53:43 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l0GAWDj/"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 111998262E; Tue, 20 Jul 2021 07:53:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="l0GAWDj/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A92C382956; Tue, 20 Jul 2021 07:53:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CDAEC81280 for ; Tue, 20 Jul 2021 07:53:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pf1-x42d.google.com with SMTP id a127so18640352pfa.10 for ; Mon, 19 Jul 2021 22:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yKq0kC2fJ+MAw+p01NpuOMyiTYn9iVFRV8ZsBF5IaXg=; b=l0GAWDj/P70+O/0oztzPY0GyMBZMdL1GUuP/eMCNb4a5oJ/j49a9uZwCgjra7k8Jrw 8CE84ASKyqzq6v6afzznHV0zw4w9+Gky8c3r/79MamNdUImiElt1dKMHCjXq7eERc5ES j2slwWFPWBEIXTm9vJJqNWsfd/Ja4A2bVVl2TTQSOrk91+0JvuFA2bsyT41fsfP9L+ea xICNlWnm4MCGxn3rUkDSXDbDgJoFFb4va1JXiHVS3iRInhWO1tsG5ISWSkcVOgo1Ntkp vbCt/aoC0ITHaaOMiLNrB6HFGeOrtDifCynqPoMuqyFhq2E0GxSOYyY3WYBoAL2A//rA XT+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yKq0kC2fJ+MAw+p01NpuOMyiTYn9iVFRV8ZsBF5IaXg=; b=H55Ze/gCPDOaCN2rMnTymNtrN9oVht/6+DqKk201PN8d14N0VB7lIkAvFieWJfQ42Y 8ssvobR2TxrRpYwUi311qb/CkMNi+sCrbPaPbTmQ7SSwajlYg41VdEFMZcfcles0TFGn i+WvfAlzGeRCSAUUhwp6MVAPtFz+JIWNLFT5CQFq7XZt+Tl93VcjeEcnEqn4kCa6zL0c UB0uBAV25FWF3ddscV5EAER6XjuohPBWuwN2FvTEdHpx/v/QEW82coULWa7PwWlLGGfl ZItR3VPlr2+ZTiM5nGWkYCfP6D0ri3KiIvml9bkB6JxrKqEBHKCLhdNpjuKkzK/Fvmx7 CuQw== X-Gm-Message-State: AOAM533zox5LkkQwKgk7QhRzEQe/qRrdF9HqnpYWMjfD3ZsOPrW3bglF 80FFsW2M0s4mqmKAJQ+HOBSPTA== X-Received: by 2002:a05:6a00:a1e:b029:30e:f6eb:c30b with SMTP id p30-20020a056a000a1eb029030ef6ebc30bmr30348755pfh.72.1626760415244; Mon, 19 Jul 2021 22:53:35 -0700 (PDT) Received: from localhost.localdomain (p784a236a.tkyea130.ap.so-net.ne.jp. [120.74.35.106]) by smtp.gmail.com with ESMTPSA id s123sm22180997pfb.78.2021.07.19.22.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 22:53:34 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v2] efi_loader: capsule: remove unused guid Date: Tue, 20 Jul 2021 14:53:11 +0900 Message-Id: <20210720055311.103134-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean efi_guid_capsule_root_cert_guid is never used. Just remove it. Signed-off-by: AKASHI Takahiro --- v2: correct the commit message --- lib/efi_loader/efi_capsule.c | 3 --- 1 file changed, 3 deletions(-) -- 2.31.0 Reviewed-by: Heinrich Schuchardt diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c index f9b0ef591cc8..3c029378de0a 100644 --- a/lib/efi_loader/efi_capsule.c +++ b/lib/efi_loader/efi_capsule.c @@ -220,9 +220,6 @@ skip: #if defined(CONFIG_EFI_CAPSULE_AUTHENTICATE) -const efi_guid_t efi_guid_capsule_root_cert_guid = - EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID; - static int efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len) { const void *blob = __efi_capsule_sig_begin;