summaryrefslogtreecommitdiff
path: root/lto-plugin/lto-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r--lto-plugin/lto-plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index 7df0d6f3c01..83b61d53188 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -886,8 +886,6 @@ claim_file_handler (const struct ld_plugin_input_file *file, int *claimed)
cleanup:
if (obj.objfile)
simple_object_release_read (obj.objfile);
- if (file->fd >= 0)
- close (file->fd);
return LDPS_OK;
}