From: H.J. Lu Date: Fri, 25 Feb 2022 03:24:36 +0000 (-0800) Subject: benchtests: Remove duplicated loop in bench-bzero-walk.c X-Git-Tag: glibc-2.36~646 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf92721befb557cecc82a862d3ac8cb6b47d4635;p=thirdparty%2Fglibc.git benchtests: Remove duplicated loop in bench-bzero-walk.c Remove one of 2 identical loops in bench-bzero-walk.c. Reviewed-by: Siddhesh Poyarekar --- diff --git a/benchtests/bench-bzero-walk.c b/benchtests/bench-bzero-walk.c index 4984f6e1904..851a72b1379 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);