remove unused tryinit function
authorEric Wong <normalperson@yhbt.net>
Tue, 1 Mar 2011 08:52:34 +0000 (1 08:52 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 1 Mar 2011 08:52:34 +0000 (1 08:52 +0000)
Something I considered but decided wasn't worth doing.

ext/posix_mq/posix_mq.c

index 73cd815..2b979a7 100644 (file)
@@ -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+