]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: remove outdated TODO in efi_memory.c
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 5 Jan 2021 07:22:51 +0000 (08:22 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:01 +0000 (02:38 +0100)
In efi_mem_sort() adjacent memory regions of same type are coalesced.
Remove the remark "Merging of adjacent free regions is missing".

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_memory.c

index 11e755363e44b9d7bcf7ddc8777840dfd2964e5b..a3106aba7f2525465228128f02a67b4b9de631d9 100644 (file)
@@ -541,8 +541,6 @@ efi_status_t efi_free_pages(uint64_t memory, efi_uintn_t pages)
 
        ret = efi_add_memory_map_pg(memory, pages, EFI_CONVENTIONAL_MEMORY,
                                    false);
-       /* Merging of adjacent free regions is missing */
-
        if (ret != EFI_SUCCESS)
                return EFI_NOT_FOUND;