X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=t%2Faxmap.c;h=a803ce47bf3386308427c8ebf202ed8df8461625;hb=8847ae4cd2e3d0d73dd7d7c93c5d6da96b71d174;hp=57c585b6798ae9a3d28b17f5a49a25062590ded4;hpb=a7448122c349bd3689f808e87680e1d3c30ec85c;p=fio.git diff --git a/t/axmap.c b/t/axmap.c index 57c585b6..a803ce47 100644 --- 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; @@ -37,7 +27,7 @@ static int test_regular(size_t size, int seed) while (size--) { uint64_t val; - if (lfsr_next(&lfsr, &val, osize)) { + if (lfsr_next(&lfsr, &val)) { printf("lfsr: short loop\n"); err = 1; break;