Message ID | 20201230150722.154663-2-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show |
Series | Change logic of EFI LoadFile2 protocol for initrd loading | expand |
On 12/30/20 4:07 PM, 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> Please, rebase upon origin/next. See commit b6f11098c9a619f480 efi_loader: move EFI_LOAD_FILE2_PROTOCOL_GUID > --- > lib/efi_loader/efi_load_initrd.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c > index d517d686c330..4ec55d70979d 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 const efi_guid_t efi_guid_load_file2_protocol = > EFI_LOAD_FILE2_PROTOCOL_GUID; >
diff --git a/lib/efi_loader/efi_load_initrd.c b/lib/efi_loader/efi_load_initrd.c index d517d686c330..4ec55d70979d 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 const efi_guid_t efi_guid_load_file2_protocol = EFI_LOAD_FILE2_PROTOCOL_GUID;