diff mbox series

[4/6] efi_loader: Remove unused headers from efi_load_initrd.c

Message ID 20201228122440.316403-5-ilias.apalodimas@linaro.org
State New
Headers show
Series Change logic of EFI LoadFile2 protocol for initrd loading | expand

Commit Message

Ilias Apalodimas Dec. 28, 2020, 12:24 p.m. UTC
dm.h and env.h serve no purpose here. Remove them

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

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

-- 
2.30.0.rc2

Comments

Heinrich Schuchardt Dec. 28, 2020, 3:06 p.m. UTC | #1
On 12/28/20 1:24 PM, Ilias Apalodimas wrote:
> dm.h and env.h serve no purpose here. Remove them

>

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

> ---

>   lib/efi_loader/efi_load_initrd.c | 2 --

>   1 file changed, 2 deletions(-)

>

> diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c

> index 984fea1bd679..e0b4a82ce037 100644

> --- a/lib/efi_loader/efi_load_initrd.c

> +++ b/lib/efi_loader/efi_load_initrd.c

> @@ -4,10 +4,8 @@

>    */

>

>   #include <common.h>

> -#include <env.h>

>   #include <malloc.h>

>   #include <mapmem.h>

> -#include <dm.h>

>   #include <fs.h>

>   #include <efi_loader.h>

>   #include <efi_variable.h>


It would be nice to bring the headers into alphabetic order.
I suggest to apply this change before any other changes to efi_load_initrd.c

Best regards

Heinrich

>
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c
index 984fea1bd679..e0b4a82ce037 100644
--- a/lib/efi_loader/efi_load_initrd.c
+++ b/lib/efi_loader/efi_load_initrd.c
@@ -4,10 +4,8 @@ 
  */
 
 #include <common.h>
-#include <env.h>
 #include <malloc.h>
 #include <mapmem.h>
-#include <dm.h>
 #include <fs.h>
 #include <efi_loader.h>
 #include <efi_variable.h>