From patchwork Mon Dec 28 15:08:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 352698 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9815993jai; Mon, 28 Dec 2020 07:09:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxBpd3lc80Op45e3XNaDyH1USHq6pKmcgAS0CyfKbcQ2APG9fZicoR30k78gdsIQioohfO X-Received: by 2002:a17:906:3b4d:: with SMTP id h13mr41657561ejf.289.1609168148207; Mon, 28 Dec 2020 07:09:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609168148; cv=none; d=google.com; s=arc-20160816; b=N4yNDFKXe3w00p/kT2Nn1Wnwv22f7ipwqaS8wxXCfJ2Yyt6TsWelmTU/nok4QgU9k4 fA0zbI9OFYScs2wxxWIhONGCKJsE0uHUKMWvwgsa686CmbvC4Qp+Vyebjwo0RVU8Qs4H 02l+HtrD0+B9tsWckG4Pphpteq9cuhx8X1iSFCxvperEyJCQdYizDOjikVraP1QaQrzQ 2Bs5GtIcBFDCS4VZijg6SB6C/4RFlcowiDpXCJfFJR0Iu6uF3Pi5t/5H4UpPi00/xnPo 1pj2a0DiLSVlnU5UJ2xa1T86PA2Vhv9LyiNHbyjK2xK1318jBUTNu4yFez95fML+dmn7 h1yw== 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=vQSvrv0nmvsaSeFFq5BoL9yt5fIfVtDY+36d2ZCcwRQ=; b=b/Q60qsJDWsjf5xnD0OGL4qB7Kvz6U7/A51eknZmuMRJMG3Y2DhtgNxwSpvvrYRreI 2eBPybTbj0lINKKP9q2aiTy+Q7036qd0k1NAt8ox5A/NYFDmt0aSVvsR4KkDuLYeAKNK btQIXRMkHkqWU5F2mlVy2i+cjFbT2TmjFvatTTleu6cObKaTmB56SUUPzK6Hf+8687Gu j+3suuMQjcDJbs3CN3AGSRwH5jPpn/5zmWr0Np2F4llzTKg/DuUBZXLlVxDfQTzq8D2G MJvG2gnU4Gocn7VmXn5yayyjTm0RtSxp8VEt9BICioBfaqHrhnulInqEEpOtVO37pRAr e/ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=IvbR1pzQ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id jp19si18035613ejb.465.2020.12.28.07.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 07:09:08 -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=@gmx.net header.s=badeba3b8450 header.b=IvbR1pzQ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 71B308240E; Mon, 28 Dec 2020 16:09:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="IvbR1pzQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B8108240E; Mon, 28 Dec 2020 16:08:58 +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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 97C9080404 for ; Mon, 28 Dec 2020 16:08:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609168133; bh=p7ptbG8hGMNvnxQKwTyETcy0GPxeU6kUS+M5EIBlAJQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=IvbR1pzQl9l7BDaMVbv36nZzXri6g6pT3zTy2g0uHoCNDY9bqYyqb9gnetUEVxeLv TymGYbnM6E4ryk/hbUXCRZJukY1GsPCZCydgQ7BRxqN7KRhJ/GuA/5tc/GUyS78zKg fZfk16frbLpttcBF8+fFMHqJEjZS1gJA1Na1M3wA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([62.143.246.89]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MMofc-1kdKgz399A-00ImyP; Mon, 28 Dec 2020 16:08:53 +0100 From: Heinrich Schuchardt To: Ilias Apalodimas Cc: Alexander Graf , u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH] efi_loader: Remove unused headers from efi_load_initrd.c Date: Mon, 28 Dec 2020 16:08:39 +0100 Message-Id: <20201228150839.68551-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228122440.316403-5-ilias.apalodimas@linaro.org> References: <20201228122440.316403-5-ilias.apalodimas@linaro.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:g4yV3x+su8gS/5xU3AoidX4emOXFAWsXoWQRKGkcK56nxJ68pXg iS8ApX7rUSKieLMNc8eg1DpNa2JvmQui1ZFNcumJF/0oXPHAG50yxnvmqixnRHyqKIzOZ3B WHwEg5O+V0c7mOPn+lkY/1AX/GOmlFZkKfj2AlrrD6VzT5gv2F7/LdJDZBMZE9Oq2aLdB5P JrkCZpWB8xQnXI5/ZDnGg== X-UI-Out-Filterresults: notjunk:1; V03:K0:5d/MQSdGSsM=:iQM6RDYBP0c8F/HqSWLnlw H0MVYjGktBfkkSZ0bdGgBoQuuTMsb2VFDfh21w4ovCSeyzxxLxNou1X8MdmhS6auU+5bDC+Ie 3ZFF//JNYYZV6sRasEC0T47A9Ir6wP3ofBUfx+OVP+QawMBpSctzMhE31rZVrO8N15zJLE/0b hiLsFaBROzzYk16EI7OOp4czavgLllPARQlUas2K+TNuxJn8CxrnMPsySAywm/bF5WjKWOtnb 0+qNXk8e0d3LlqjmHVcrE39sWiSKJyQLzylquw0iMH1rXa6Noss7ThWMAxExUfRaEpFYKNNKk GCy7hfxQaiALevJeAaKvb4zXr4BFIFpdOXwiRY6VOJjgIIlE+KrqTil7Rq/aS0W5RZFYWZrGs 8yZXfGlJrRf1iPS+9Z5WS+OlMSAf6pDeajVOwbyGpY462SHgRBbwOqRQLGYmTf7gcAAz1TOiX F0Bu8tzrzPXTvw0+wX5gHgBZ8ngRcK0yRl/NLedO0Zp9chI+KgZZfygB1zq2zfn/04hLENcxR COunNGBEZx/dAIZM6UdxCSoqsyryDaJYFI1FTmupz92W5xpbUvjtp7mCOVndkZ8u9vfIyZAB4 nICkp32nUlfqhJz7jrlhfNqxvME3k6Ybm0UZZqxLYiGiM6xibUa5UBGwn1wU5eP45qdV1P8dX vrW5qeSdyfJQ8fMbyT9ZsSbq7rLM06JcdrCWCzYC9npYzDQc3fQli4EUzkFYtzuwEYUG40pXH /2ZgzYCCZV9/ZsXYHbuhXOR4hDc1Ufmu98D02ru3in0Y8EMX0996ORQQcI+EBNlYh+MkXNy6P ZLo+XavStuDBGiMT1SM0R7k7gf5Qu66ce5Yurnu20aO3EDg1VRPElP6yILgFRns/M989BiCKf Ug7hkotgmYKYVO9Qln7Q== 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 From: Ilias Apalodimas dm.h and env.h serve no purpose here. Remove them Signed-off-by: Ilias Apalodimas Bring headers into alphabetic order Reviewed-by: Heinrich Schuchardt --- lib/efi_loader/efi_load_initrd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.29.2 diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index 4bf3b5ef68..e4126b33fd 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 static efi_status_t EFIAPI efi_load_file2_initrd(struct efi_load_file_protocol *this,