diff mbox series

efi_loader: Remove unused headers from efi_load_initrd.c

Message ID 20201231103324.204039-1-ilias.apalodimas@linaro.org
State New
Headers show
Series efi_loader: Remove unused headers from efi_load_initrd.c | expand

Commit Message

Ilias Apalodimas Dec. 31, 2020, 10:33 a.m. UTC
dm.h and env.h serve no purpose here. Remove them and sort the
remaining in alphabetical order.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>

---
 lib/efi_loader/efi_load_initrd.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
2.30.0

Comments

Heinrich Schuchardt Dec. 31, 2020, 11:52 a.m. UTC | #1
On 12/31/20 11:33 AM, Ilias Apalodimas wrote:
> dm.h and env.h serve no purpose here. Remove them and sort the

> remaining in alphabetical order.

>

> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>


Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff mbox series

Patch

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 <common.h>
-#include <env.h>
-#include <malloc.h>
-#include <mapmem.h>
-#include <dm.h>
-#include <fs.h>
 #include <efi_loader.h>
 #include <efi_load_initrd.h>
+#include <fs.h>
+#include <malloc.h>
+#include <mapmem.h>
 
 static efi_status_t EFIAPI
 efi_load_file2_initrd(struct efi_load_file_protocol *this,