tools/fitimage: remove redundant format check
authorStefan Eichenberger <eichest@gmail.com>
Mon, 10 Jan 2022 17:48:31 +0000 (18:48 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 15:35:10 +0000 (10:35 -0500)
commit5390cafed8858c8f9096131f2c2ddb2698931d2d
tree97747f7ae28a373f9f9cdde2b785115d07458f11
parent51d8367d8a8d6edb0c5af9828c20bb7aba5670da
tools/fitimage: remove redundant format check

fit_extract_contents does a fit_check_format even thought it was already
checked during imagetool_verify_print_header.
Therefore, this check is not necessary. This commit removes the
redundancy.

Signed-off-by: Stefan Eichenberger <eichest@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/fit_image.c