efi_loader: Remove unused headers from efi_load_initrd.c
PATCH 1/1 efi_loader: Remove unused headers from efi_load_initrd.c
dm.h and env.h serve no purpose here. Remove them and sort the remaining in alphabetical order.
Signed-off-by Ilias Apalodimas <[email protected]>
--- lib/efi_loader/efi_load_initrd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
lib/efi_loader/efi_load_initrd.c +3 -5
@@ -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,
Signature · 1 line
2.30.0
PATCH 1/1 efi_loader: Remove unused headers from efi_load_initrd.c
Quoted 4 lines · Ilias Apalodimas
dm.handenv.hserve no purpose here. Remove them and sort the remaining in alphabetical order.Signed-off-by Ilias Apalodimas <[email protected]>
Reviewed-by Heinrich Schuchardt <[email protected]>