bootctl: drop unnecessary verb_unlink()

It is a trivial wrapper for verb_list(). Let's directly use verb_list()
and drop verb_unlink().

Follow-up for 8702496bfb.
This commit is contained in:
Yu Watanabe
2025-09-17 14:35:45 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent aa7574417b
commit bed2723caa
3 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -682,7 +682,7 @@ static int bootctl_main(int argc, char *argv[]) {
{ "kernel-identify", 2, 2, 0, verb_kernel_identify },
{ "kernel-inspect", 2, 2, 0, verb_kernel_inspect },
{ "list", VERB_ANY, 1, 0, verb_list },
{ "unlink", 2, 2, 0, verb_unlink },
{ "unlink", 2, 2, 0, verb_list },
{ "cleanup", VERB_ANY, 1, 0, verb_list },
{ "set-default", 2, 2, 0, verb_set_efivar },
{ "set-oneshot", 2, 2, 0, verb_set_efivar },