t/axmap: we don't need smalloc/sfree wrappers
authorJens Axboe <axboe@kernel.dk>
Thu, 31 Aug 2017 14:34:27 +0000 (08:34 -0600)
committerJens 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

index e32ff98..a803ce4 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;