From cf92721befb557cecc82a862d3ac8cb6b47d4635 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 24 Feb 2022 19:24:36 -0800 Subject: [PATCH] benchtests: Remove duplicated loop in bench-bzero-walk.c Remove one of 2 identical loops in bench-bzero-walk.c. Reviewed-by: Siddhesh Poyarekar --- benchtests/bench-bzero-walk.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/benchtests/bench-bzero-walk.c b/benchtests/bench-bzero-walk.c index 4984f6e190..851a72b137 100644 --- a/benchtests/bench-bzero-walk.c +++ b/benchtests/bench-bzero-walk.c @@ -122,12 +122,6 @@ test_main (void) do_test (&json_ctx, i + 1); } - for (i = START_SIZE; i <= MIN_PAGE_SIZE; i <<= 1) - { - do_test (&json_ctx, i); - do_test (&json_ctx, i + 1); - } - json_array_end (&json_ctx); json_attr_object_end (&json_ctx); json_attr_object_end (&json_ctx);