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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
aa7574417b
commit
bed2723caa
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user