diff mbox series

efi_loader: Remove unused headers from efi_load_initrd.c

Message ID 20201228150839.68551-1-xypron.glpk@gmx.de
State New
Headers show
Series efi_loader: Remove unused headers from efi_load_initrd.c | expand

Commit Message

Heinrich Schuchardt Dec. 28, 2020, 3:08 p.m. UTC
From: Ilias Apalodimas <ilias.apalodimas@linaro.org>


dm.h and env.h serve no purpose here. Remove them

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


Bring headers into alphabetic order
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

---
 lib/efi_loader/efi_load_initrd.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--
2.29.2
diff mbox series

Patch

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 <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 <malloc.h>
+#include <mapmem.h>

 static efi_status_t EFIAPI
 efi_load_file2_initrd(struct efi_load_file_protocol *this,