From: David Herrmann Date: Mon, 16 Mar 2015 20:07:38 +0000 (+0100) Subject: bootctl: drop redundant parse_argv() X-Git-Tag: v219.0~269 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e0d065d4059181bfbf0aba81f780d32ba194c319;p=elogind.git bootctl: drop redundant parse_argv() We already call parse_argv() from main(), don't call it here again. --- diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index ae467ca35..bc1405145 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))