X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=t%2Faxmap.c;h=a803ce47bf3386308427c8ebf202ed8df8461625;hb=6730b40f1f2f9a07ac6b28d39fba293fedb1f239;hp=57c585b6798ae9a3d28b17f5a49a25062590ded4;hpb=62232d0618e3f5aa4805b4be34e872895ba1beb2;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;