projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808e9ea
)
smalloc: kill another debug printf()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 27 May 2008 12:13:26 +0000
(14:13 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 27 May 2008 12:13:26 +0000
(14:13 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/smalloc.c
b/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;