From 48c39f4e15837ad2a8773fd1b8edd83446a1cdc4 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Mon, 2 Jan 2017 04:39:38 +0000
Subject: [PATCH] io.c (rb_f_syscall): remove deprecation notice

New, perhaps experimental syscalls appear all the time which
may not and never be be supported by the system C library.

Furthermore, on common GNU/Linux platforms, kernel development
and releases happens at a much faster pace than GNU C library
(glibc) development.  In my experience, is more common for users
to run recent, custom-built Linux kernels than a recent,
custom-built glibc.  (This is likely because Linux upstream has
better built-in tooling for distro package management integration
than glibc upstream).

So, ruby should support users who want to deal with the latest
and greatest syscalls in the kernel without having them wait for
C library support.
---
 io.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/io.c b/io.c
index 1074689560..65b5550e78 100644
--- a/io.c
+++ b/io.c
@@ -9426,10 +9426,6 @@ rb_f_syscall(int argc, VALUE *argv)
 #endif
     int i;
 
-    if (RTEST(ruby_verbose)) {
-	rb_warning("We plan to remove a syscall function at future release. DL(Fiddle) provides safer alternative.");
-    }
-
     if (argc == 0)
 	rb_raise(rb_eArgError, "too few arguments for syscall");
     if (argc > numberof(arg))
-- 
EW

