summaryrefslogtreecommitdiffstats
path: root/commands/ubiformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/ubiformat.c')
-rw-r--r--commands/ubiformat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/ubiformat.c b/commands/ubiformat.c
index f4982c8..a88672d 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;