From patchwork Wed Dec 30 15:07:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 355271 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp11403080jai; Wed, 30 Dec 2020 07:07:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3nRVP8w9WQDn56GFVJz8g3wQe0amGNtNTcyDjQS1KhOGr65VtBORpLstJaSdaeXDxty0/ X-Received: by 2002:a50:b765:: with SMTP id g92mr50878421ede.317.1609340868025; Wed, 30 Dec 2020 07:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609340868; cv=none; d=google.com; s=arc-20160816; b=ahcC8AMB7thvLSEOkwdPlhwwLsQBzXuMvcqTztcZovWoC+7dMXt7nIxigLko4rhFz/ OxJf02W2TLxwNjR5aM7SICCUvMHMFjpfzflwhG/Hp3dNcOHvHQcbbzAmJm8GHqWXgS5u A/oYL+tvcw0DqvZmd3WDkBXN48gF82eI9S9Rcn2DkMSE0XDe0iPWznClW9vkazd4bkHe 4744hAFjzlvVzBu86BDoQnKdHJwlZvUC5Cn5GSFa21MtCPTNinB8HVnhbAR3syhLjU+/ WUDLE7sqAa2OClEHHOl6EbFmLjcckKjFu7oda1MdlNvBolOr7AyodfGzD/Paz5YRxpBZ v0ew== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/M6b/q2P+MXsm3Fkct5weN+0t6afmm06p0xLR+/53uU=; b=ptgSfno7qhhJU9N/QPj6UXEWxlC5CSTY5QxjQGXPfLcbZovsxlILvSll+3j1u0hV+Y eiHs7mFv2MKbapa5lR04/DPK4ewiNFbVgriLSHpvj91d0uk+vF3TFakifW3+KVGtCJ2z Iy5sGVqyhaSW/Jr0988SnyYZvpko+HNFVgK463zPHaPVS+eTBSpYrYOHnNLIw9Cfi2Rr 3HKr+1OJwILsjnFKKSbkGDPUfYFifl/Jqwj0713a5aqAYtd5HQhkC8YyQ3ScvcKCkI6I n0v7KTblo5NFwz/pdH64UdmpzpmxsaTyZAHqqtf5sShletQibVNSLx9kjOl4WkU+eSMn ESxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rt0ICfEI; 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 g9si20344882ejj.456.2020.12.30.07.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 07:07:47 -0800 (PST) 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=rt0ICfEI; 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 56F66825F1; Wed, 30 Dec 2020 16:07:40 +0100 (CET) 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="rt0ICfEI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9DE5A82573; Wed, 30 Dec 2020 16:07:31 +0100 (CET) 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,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 D7CBA82540 for ; Wed, 30 Dec 2020 16:07:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x32f.google.com with SMTP id q75so4958184wme.2 for ; Wed, 30 Dec 2020 07:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/M6b/q2P+MXsm3Fkct5weN+0t6afmm06p0xLR+/53uU=; b=rt0ICfEITin7Kf3CJ4aRmSL8wGaAfIb69rHGoMjcbdg8o59E0tItvTR5cTIiET/zWe UBP1MumHB765RBol838YDW73I/Qyj5Xc07sadXEmLWLY7wpAPU9tIfuqGXGmpN3ZIC4G hwAfNkfg1zG+xqFWh5Qxdp6iQPvaAuRITPXGxm/nqwCFmIZc2WbQF9bEcg37GP047qKT dnNVZGDuv8cXYWGd6toOfKasDg0qMHTAcMa74NQxlzbeewbNCNutqO6suzafYTtLxW5Q A2tRNkk0GqfoTOgZqx10ld8feYHjLmEkTAdskWa6YcKta7+cfp8VX7mqct+mJjbFFd3B MDOQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=/M6b/q2P+MXsm3Fkct5weN+0t6afmm06p0xLR+/53uU=; b=Z8mSm8dY9R2mmIMR/sr2Ets1KbHm+qBqcrQB3eN3unyHHYjZeD7rXI5+D5QltynM9H X/6kloZSDEGEyYLdOEgJ7SPMz+LKJ+YOIVNhMM4P90m9ZgTnept2obQCZJdOAtaSgqmr Ixiac81yK765Dd8moebfwhj7pvXkCaJ1In7GBFT0mazaZtxoLWqsy61IAIeoxbI1BqNQ RmwWjVUB3pvU5K/fOnjIn+zlD2Qdc9w0kIL4Om8z5hmxXxLTkzgGaWxnLgJZ8dYkvUcG pflqE+juhCuMEOz8C+Frj5Yav7SnyRTdXJ1MPgn8pdq3F9BDUz4fzhglSxEPf5u63R+O oA4Q== X-Gm-Message-State: AOAM531dn5Qmz3E55y6DdhFw2JvNyUhEUTKdh8scft5L+5CFvIoTTBl/ yMpWmxh9medxYRt7ITWL8C+BdA== X-Received: by 2002:a1c:5410:: with SMTP id i16mr8138541wmb.30.1609340848534; Wed, 30 Dec 2020 07:07:28 -0800 (PST) Received: from localhost.localdomain (athedsl-4484548.home.otenet.gr. [94.71.57.204]) by smtp.gmail.com with ESMTPSA id k10sm62062721wrq.38.2020.12.30.07.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 07:07:28 -0800 (PST) From: Ilias Apalodimas To: xypron.glpk@gmx.de Cc: takahiro.akashi@linaro.org, ard.biesheuvel@arm.com, Ilias Apalodimas , Alexander Graf , u-boot@lists.denx.de Subject: [PATCH 1/8 v2] efi_loader: Remove unused headers from efi_load_initrd.c Date: Wed, 30 Dec 2020 17:07:13 +0200 Message-Id: <20201230150722.154663-2-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20201230150722.154663-1-ilias.apalodimas@linaro.org> References: <20201230150722.154663-1-ilias.apalodimas@linaro.org> 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.102.3 at phobos.denx.de X-Virus-Status: Clean dm.h and env.h serve no purpose here. Remove them and sort the remaining in alphabetical order. Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- lib/efi_loader/efi_load_initrd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.30.0 diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index d517d686c330..4ec55d70979d 100644 --- a/lib/efi_loader/efi_load_initrd.c +++ b/lib/efi_loader/efi_load_initrd.c @@ -4,13 +4,11 @@ */ #include -#include -#include -#include -#include -#include #include #include +#include +#include +#include static const efi_guid_t efi_guid_load_file2_protocol = EFI_LOAD_FILE2_PROTOCOL_GUID;