diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-03-16 21:07:38 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-03-19 14:11:54 +0100 |
commit | e0d065d4059181bfbf0aba81f780d32ba194c319 (patch) | |
tree | f53f3990638632388640b5fab69319d5dc58399c | |
parent | bf0e00ec58c0d203d0654c083bbe5c6d9cb23328 (diff) |
bootctl: drop redundant parse_argv()
We already call parse_argv() from main(), don't call it here again.
-rw-r--r-- | src/boot/bootctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index ae467ca35c..bc1405145e 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -1285,10 +1285,6 @@ static int bootctl_main(int argc, char*argv[]) { int q; int r; - r = parse_argv(argc, argv); - if (r <= 0) - goto finish; - if (argv[optind]) { for (i = 0; i < ELEMENTSOF(verbs); i++) { if (!streq(argv[optind], verbs[i].verb)) |