From: Simon Glass Date: Thu, 30 Jun 2016 16:52:10 +0000 (-0600) Subject: mkimage: Drop premature setting of params.fit_image_type X-Git-Tag: v2016.09-rc1~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63ef31b9efbf33071cad58a185cc616671d2af62;p=u-boot 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 --- diff --git a/tools/mkimage.c b/tools/mkimage.c index a36c031159..76ae09e2b7 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;