summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/fit_image.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 31aa43c..8a93ea3 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -446,8 +446,6 @@ static int fit_extract_data(struct image_tool_params *params, const char *fname)
ret = -EIO;
goto err;
}
- close(fd);
-
ret = 0;
err: