mm-test: remove useless 0-ness check.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 13:14:25 +0000 (15:14 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 13:22:42 +0000 (15:22 +0200)
src/common/tests/mm-test.c

index 35a0107..c22b866 100644 (file)
@@ -169,7 +169,7 @@ static int pool_tests(void)
 
     limit    = 0;
     prealloc = 512;
-    max      = limit ? limit : 8382;
+    max      = 8382;
     ptrs     = mrp_allocz(max * sizeof(obj_t));
 
     if (ptrs == NULL) {