From 63ef31b9efbf33071cad58a185cc616671d2af62 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 30 Jun 2016 10:52:10 -0600 Subject: [PATCH] mkimage: Drop premature setting of params.fit_image_type There is no need to set params.fit_image_type while parsing the arguments. It is set up later anyway. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- tools/mkimage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index a36c031..76ae09e 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -197,7 +197,6 @@ static void process_args(int argc, char **argv) * The flattened image tree (FIT) format * requires a flattened device tree image type */ - params.fit_image_type = params.type; params.type = IH_TYPE_FLATDT; params.fflag = 1; break; -- 2.7.4