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

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Dec 28 16:06:25 CET 2020


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 at 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

>



More information about the U-Boot mailing list