aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io.c b/io.c
index 5d2f4b63e2..4287d96e74 100644
--- a/io.c
+++ b/io.c
@@ -4427,7 +4427,6 @@ rb_io_close_m(VALUE io)
if (fptr->fd < 0) {
return Qnil;
}
- rb_io_check_closed(RFILE(io)->fptr);
rb_io_close(io);
return Qnil;
}