client: use temp buffer for single output flush for json/disk util
[fio.git] / t / stest.c
index 0e0d8b0b4785998546f437fb336a2038ec34ce41..b95968f14dd073a3f52b4f8a0f133a248ead130c 100644 (file)
--- a/t/stest.c
+++ b/t/stest.c
@@ -18,7 +18,7 @@ struct elem {
        unsigned int magic2;
 };
 
-FLIST_HEAD(list);
+static FLIST_HEAD(list);
 
 static int do_rand_allocs(void)
 {
@@ -59,15 +59,6 @@ static int do_rand_allocs(void)
        return 0;
 }
 
-static int do_specific_alloc(unsigned long size)
-{
-       void *ptr;
-
-       ptr = smalloc(size);
-       sfree(ptr);
-       return 0;
-}
-
 int main(int argc, char *argv[])
 {
        arch_init(argv);
@@ -76,9 +67,6 @@ int main(int argc, char *argv[])
 
        do_rand_allocs();
 
-       /* smalloc bug, commit 271067a6 */
-       do_specific_alloc(671386584);
-
        scleanup();
        return 0;
 }