]> git.sur5r.net Git - u-boot/commit
mkimage: Correct file being closed twice in fit_import_data()
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:45:32 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:17 +0000 (12:16 -0400)
commit508b028a4c91afc76f95cecdbb5a9fc1142a29dd
tree559661f8055aee4841adbe5688aef7185f2d8320
parent9cff2d1e39bca4e456a61a3395611cafe2f8969e
mkimage: Correct file being closed twice in fit_import_data()

The code flows through to the end of the function, so we don't need another
close() before this. Remove it.

Reported-by: Coverity (CID: 138504)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/fit_image.c