cmd: efidebug: simplify do_efi_boot_add()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 23 Mar 2022 19:26:25 +0000 (20:26 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Mar 2022 06:46:21 +0000 (07:46 +0100)
commitccc41fcfaf33356f7789c8bd50551a9e37507f2d
tree7e577aaf7d3f19b6eeffd977f47fdd4f8984ed12
parent46490abbbcbda9bbb1bb26e9eac92308ba83d090
cmd: efidebug: simplify do_efi_boot_add()

When calling efi_dp_from_name() we are not interested in the device part.
Just pass NULL as an argument.

Suggested-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/efidebug.c