about summary refs log tree commit homepage
path: root/ext/posix_mq/posix_mq.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-01 08:52:34 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-01 08:52:34 +0000
commitc885c2d30b69925f6dd9f36e74c247e650db327b (patch)
tree4513ea30cc980a7a0c62b59868cabd14f3ec5924 /ext/posix_mq/posix_mq.c
parentd64ac2686c3c1ff1eea4534100dca8fd73228a62 (diff)
downloadruby_posix_mq-c885c2d30b69925f6dd9f36e74c247e650db327b.tar.gz
Something I considered but decided wasn't worth doing.
Diffstat (limited to 'ext/posix_mq/posix_mq.c')
-rw-r--r--ext/posix_mq/posix_mq.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c
index 73cd815..2b979a7 100644
--- a/ext/posix_mq/posix_mq.c
+++ b/ext/posix_mq/posix_mq.c
@@ -988,14 +988,6 @@ static VALUE setnonblock(VALUE self, VALUE nb)
         return nb;
 }
 
-static VALUE tryinit(int argc, VALUE *argv, VALUE self)
-{
-        init(argc, argv, self);
-        setnonblock(self, Qtrue);
-
-        return self;
-}
-
 /*
  * call-seq:
  *        mq.trysend(string [,priority[, timeout]]) => +true+ or +false+