projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d30455b
)
t/axmap: we don't need smalloc/sfree wrappers
author
Jens Axboe
<axboe@kernel.dk>
Thu, 31 Aug 2017 14:34:27 +0000
(08:34 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 31 Aug 2017 14:34:27 +0000
(08:34 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/axmap.c
patch
|
blob
|
blame
|
history
diff --git
a/t/axmap.c
b/t/axmap.c
index e32ff98d09f1323a12b9cb1c708cb49370ca0a38..a803ce47bf3386308427c8ebf202ed8df8461625 100644
(file)
--- a/
t/axmap.c
+++ b/
t/axmap.c
@@
-8,16
+8,6
@@
#include "../lib/lfsr.h"
#include "../lib/axmap.h"
-void *smalloc(size_t size)
-{
- return malloc(size);
-}
-
-void sfree(void *ptr)
-{
- free(ptr);
-}
-
static int test_regular(size_t size, int seed)
{
struct fio_lfsr lfsr;