[py] remove useless check in py-phasevoc.c
[aubio.git] / python / ext / py-phasevoc.c
index e67c5f0..4d36fb3 100644 (file)
@@ -90,10 +90,6 @@ Py_pvoc_new (PyTypeObject * type, PyObject * args, PyObject * kwds)
   self->win_s = Py_default_vector_length;
   self->hop_s = Py_default_vector_length/2;
 
-  if (self == NULL) {
-    return NULL;
-  }
-
   if (win_s > 0) {
     self->win_s = win_s;
   } else if (win_s < 0) {