From e0d065d4059181bfbf0aba81f780d32ba194c319 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Mon, 16 Mar 2015 21:07:38 +0100 Subject: bootctl: drop redundant parse_argv() We already call parse_argv() from main(), don't call it here again. --- src/boot/bootctl.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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)) -- cgit v1.2.3-54-g00ecf