From bfbfe1e29902f4b23cd2d82609960de236fce43f Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Thu, 6 Dec 2018 23:29:51 -0800 Subject: commands: boot: Remove useless code All of those variables are already initialized in-place in the variable declaration section above to exactly the same values Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- commands/boot.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'commands') diff --git a/commands/boot.c b/commands/boot.c index 5d81d79ce8..0257b3dd4f 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -29,10 +29,6 @@ static int do_boot(int argc, char *argv[]) struct bootentries *entries; struct bootentry *entry; - verbose = 0; - dryrun = 0; - timeout = -1; - while ((opt = getopt(argc, argv, "vldmt:w:")) > 0) { switch (opt) { case 'v': -- cgit v1.2.3