efi_loader: simplify efi_allocate_pages()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 11 May 2019 06:43:30 +0000 (08:43 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:22 +0000 (20:54 +0200)
commit8ae39857b93edfe697c223fa2f2edfb39d45c98c
tree70300d8a80ecab5064639e38befe21d02a8c9f87
parentf756fe83b0d6e189dd524346d22f668d0861e573
efi_loader: simplify efi_allocate_pages()

Replace unnecessary control structures by using return statements.

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