smalloc: kill another debug printf()
[fio.git] / smalloc.c
index 3d3986b84cb2aeef3a89465c7dbb1a6239c88f82..c03c4040b847358ff827ddf044f13f7349ce7409 100644 (file)
--- a/smalloc.c
+++ b/smalloc.c
@@ -439,10 +439,8 @@ static void *smalloc_pool(struct pool *pool, unsigned int size)
 #endif
 
        ptr = __smalloc_pool(pool, alloc_size);
-       if (!ptr) {
-               printf("failed allocating %u\n", alloc_size);
+       if (!ptr)
                return NULL;
-       }
 
        hdr = ptr;
        hdr->size = alloc_size;