[batchnorm] remove comments, add a note about no input parameter
authorPaul Brossier <piem@piem.org>
Wed, 23 Jan 2019 22:33:38 +0000 (23:33 +0100)
committerPaul Brossier <piem@piem.org>
Wed, 23 Jan 2019 22:33:38 +0000 (23:33 +0100)
src/ai/batchnorm.c

index 490da8b..7aba3d5 100644 (file)
@@ -37,12 +37,8 @@ static void aubio_batchnorm_debug(aubio_batchnorm_t *c,
 aubio_batchnorm_t *new_aubio_batchnorm(void)
 {
   aubio_batchnorm_t *c = AUBIO_NEW(aubio_batchnorm_t);
+  // note; no input parameter, so no other possible failure
   return c;
-#if 0 // no argument so no other possible failure
-failure:
-  del_aubio_batchnorm(c);
-  return NULL;
-#endif
 }
 
 static void aubio_batchnorm_reset(aubio_batchnorm_t *c) {