From patchwork Thu Dec 31 10:33:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 355532 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp12024744jai; Thu, 31 Dec 2020 02:33:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJynnGFyfNjej8ecuTs/rSMyKecBROqnHLSOUnOE8H2dDbIhe3WNNY++N43SEmf9oQfFeITL X-Received: by 2002:a17:906:6d14:: with SMTP id m20mr52034389ejr.3.1609410816369; Thu, 31 Dec 2020 02:33:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609410816; cv=none; d=google.com; s=arc-20160816; b=FRuGnexWl5N0COc137nO7mqGBKqnJeCq9nk3Sxcqne8tDxwDbyYbRUPHBtOharYjFV YPs9OjY7iss1/fE7XDJcJ96N7oBF/aycjJpDA7yha8/bL/JfiKyAAngJT13bFdLPz+r4 +PNemThqW6Ff+c5u0CjyZlDxAhI1pZ9QVBKeCjgorfWeapEXSA1tklfzvdrJP3M4P1Al VYwBHBMkR3qAQcR6fpAiqCCPuteO6qgQH2qvZeNanuXxii0ql0fdbtcVAd7LMkFKLyl9 vMJXoV61ymxJN1EZVO/oeO+IUQCH8wErkGsBoASzHYZ5NfTlPLDmLLuuVIG9vOVDf87m q22w== 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=ebDqc5YOK19cjcRGb1WZ+0UQP/hX+pdMJ1N0pBZ22iE=; b=C0RGmILbk8KV+VrQX+FHCiIwqJiA+/x/pRQx+u4OGHZ0dV0tSEI+Mev0gea7ySoNb7 OC+Vrl9gL1YfpTyciTTz8HTXqUPXpFV/xlezynzwQ21+0zpVnulw1XcB6gnrC+mC+MOe Cu/EkANWcgRsU7HilsjBRQj6TBz/aNvL/YYUA9U6e473MioaQrs+6fUEwqoEfx5caE7P FoQsYm1TEBOH0wWq5UBEJp9Q1HRsb+vXF+X7w4ouOM2Ge6O4Ub33lnnlrzfodR0OZlhg U4OICe5S7nWAjhIKL9COd+C4/+DWhUNMO676VDDh1vXQ0ax3PNVgt86isWXPsPWLVRrn cEzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rQRyLoEU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id t21si25033309eds.390.2020.12.31.02.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 02:33:36 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rQRyLoEU; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 EC0428002F; Thu, 31 Dec 2020 11:33:31 +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="rQRyLoEU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 353B0824DE; Thu, 31 Dec 2020 11:33:30 +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-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 3BF1D8000F for ; Thu, 31 Dec 2020 11:33:27 +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-x32c.google.com with SMTP id 190so7040860wmz.0 for ; Thu, 31 Dec 2020 02:33:27 -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:mime-version :content-transfer-encoding; bh=ebDqc5YOK19cjcRGb1WZ+0UQP/hX+pdMJ1N0pBZ22iE=; b=rQRyLoEU6/LXhIsR9O5aQrvhfWU35b+N6jRfWBRCxvWJp8z4j+G6pSIxMEdkK6G4+a 9IDkmk/9hJR+7iH5AtiWOr44oiQnz0gSIfDpmmZfIxhLH3KRbAxB0V/xrJHpbFsZX3ZW 5HKdrd8KTHK5FyPMEcgs8VuohKLC/ZNYFk4DDQFYU6gL7ZPGJ7hMt+6wGFgdGp8ITnJp VNBmT6P2HLGPt6RglZnLaV91R4KWj+cfltWKAUJOa6zgfC+Qrl57zhIf7B2nWQzAoWnw G+MqknecbKyBS0VQHKtWOKbJrE4OHXImBaCv2r8d6oXMuq0V2K2xkjq+pUgP6VVplul1 0VOQ== 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=ebDqc5YOK19cjcRGb1WZ+0UQP/hX+pdMJ1N0pBZ22iE=; b=s8MuGbhT43VA4/gs64IdEz0COfbDSkaCKfNNQ/UOFJzu1V+7V4VPa2nWRobLooGsPx ipGpzcq/H+b5rMMttREJCEY0VAO4R3dt8dd8eZwmbLW6VjYT6691ZpvMFsCGdWAyLYsE R8P9TsD0Ngjx7n7b9ek1IARLOvZy7IZ4u90iQ4RbRryGCKOXppPi9KLw9sOkepmiGqfR 3igCmzKJ9LvP8FQGAfz02y4v4vJ3OkkJ7gjZd18xQrL1rMlm3zEoKQsIlyNSjioDJIMJ Cz7dYvnVmQi8zBp0AmOimZbgGUOkfVZZSglJUpCJKllM4Qxmg+5pL3Vur7jOn1tayQ9S N1UQ== X-Gm-Message-State: AOAM5319w4u4I9vH6cO0/+wlMvm35dnR1uBD2nygRzlRA5Jz0xmz3tPe af7JAUqA1Db9ZdsCsFDFLjDTog== X-Received: by 2002:a1c:7e4e:: with SMTP id z75mr11103414wmc.40.1609410806859; Thu, 31 Dec 2020 02:33:26 -0800 (PST) Received: from localhost.localdomain (athedsl-4484548.home.otenet.gr. [94.71.57.204]) by smtp.gmail.com with ESMTPSA id g184sm12287563wma.16.2020.12.31.02.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 02:33:26 -0800 (PST) From: Ilias Apalodimas To: xypron.glpk@gmx.de Cc: Ilias Apalodimas , Alexander Graf , u-boot@lists.denx.de Subject: [PATCH] efi_loader: Remove unused headers from efi_load_initrd.c Date: Thu, 31 Dec 2020 12:33:23 +0200 Message-Id: <20201231103324.204039-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.30.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.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 --- lib/efi_loader/efi_load_initrd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.30.0 Reviewed-by: Heinrich Schuchardt diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index 4bf3b5ef6844..b9ee8839054f 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 efi_status_t EFIAPI efi_load_file2_initrd(struct efi_load_file_protocol *this,