summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/io/console/console.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 3c8bb82083..4a68edd69e 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -1651,8 +1651,6 @@ console_dev(int argc, VALUE *argv, VALUE klass)
VALUE con = 0;
VALUE sym = 0;
- rb_check_arity(argc, 0, UNLIMITED_ARGUMENTS);
-
if (argc) {
Check_Type(sym = argv[0], T_SYMBOL);
}