diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-22 09:02:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-26 09:24:57 +0200 |
commit | c17e8cf262a16f6038cd6f76f58de031f2317171 (patch) | |
tree | c171eed8e60ac7941b646132413993cc1535e765 /commands | |
parent | b1374a6d97f1211f5c897641668371978eaa592e (diff) | |
download | barebox-c17e8cf262a16f6038cd6f76f58de031f2317171.tar.gz barebox-c17e8cf262a16f6038cd6f76f58de031f2317171.tar.xz |
ubiformat: use default values for ubi_ver and image_seq
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/ubiformat.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |