summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/volume_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/lib/volume_id.c')
-rw-r--r--extras/volume_id/lib/volume_id.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c
index 86e66bb76c..ef2b663f6c 100644
--- a/extras/volume_id/lib/volume_id.c
+++ b/extras/volume_id/lib/volume_id.c
@@ -501,9 +501,6 @@ void volume_id_close(struct volume_id *id)
if (id == NULL)
return;
- if (id->fd_close != 0)
- close(id->fd);
-
volume_id_free_buffer(id);
free(id);