summaryrefslogtreecommitdiffstats
path: root/tools/fit_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fit_image.c')
-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 31aa43cab3..8a93ea33f9 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:
OpenPOWER on IntegriCloud