From c17e8cf262a16f6038cd6f76f58de031f2317171 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 22 Apr 2016 09:02:02 +0200 Subject: ubiformat: use default values for ubi_ver and image_seq Signed-off-by: Sascha Hauer --- commands/ubiformat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'commands/ubiformat.c') diff --git a/commands/ubiformat.c b/commands/ubiformat.c index f4982c8eef..a88672d6c2 100644 --- a/commands/ubiformat.c +++ b/commands/ubiformat.c @@ -60,8 +60,6 @@ static int parse_opt(int argc, char *argv[], struct ubiformat_args *args, { srand(get_time_ns()); memset(args, 0, sizeof(*args)); - args->ubi_ver = 1; - args->image_seq = rand(); while (1) { int key; -- cgit v1.2.3