summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-12-06 23:29:51 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-10 09:53:09 +0100
commitbfbfe1e29902f4b23cd2d82609960de236fce43f (patch)
tree22015293bf0085c680c05180b5779b121ca46b69 /commands
parent3f326f9d0058174d2da92f31dbc176245386a4a6 (diff)
downloadbarebox-bfbfe1e29902f4b23cd2d82609960de236fce43f.tar.gz
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 <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/boot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/commands/boot.c b/commands/boot.c
index 5d81d79..0257b3d 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':