efi_loader: Use %pD to log device-path instead of local efi_dp_str()
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Wed, 14 Jul 2021 05:19:13 +0000 (14:19 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Jul 2021 12:43:56 +0000 (14:43 +0200)
commit484d7d80cb55fba7955c9afe2e1981980206f518
treeaefd84299c8a4af13f27c571f82bf017cdb9bada
parent17f8cda505e344381cb3c52f6e15b65dbe5be6d5
efi_loader: Use %pD to log device-path instead of local efi_dp_str()

Use %pD to log device-path instead of using efi_dp_str() and
efi_free_pool() locally in find_boot_device().
This is a cleanup patch, no feature update nor fix.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_capsule.c