efi_loader: deduplicate code in cmd/bootefi.c
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:16:25 +0000 (20:16 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:23 +0000 (20:54 +0200)
commit7e92db810b814198d57b10d438f146f181417194
tree67e1a3380ad3ee4ef3025d87f7da7a5411903418
parent05fefe768177dee6d5ffa6e95867806adc030c21
efi_loader: deduplicate code in cmd/bootefi.c

Move duplicate initialization code to single instance.

Adjust comments of concerned functions.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c