diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-02-24 19:24:36 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-25 07:07:43 -0800 |
commit | cf92721befb557cecc82a862d3ac8cb6b47d4635 (patch) | |
tree | 81e6554fa12ccdf5c172f0806160b66fee88f6ca /benchtests/bench-bzero-walk.c | |
parent | 1c7a34567d21fbd3b706c77cd794956b43daefe7 (diff) | |
download | glibc-cf92721befb557cecc82a862d3ac8cb6b47d4635.tar.gz glibc-cf92721befb557cecc82a862d3ac8cb6b47d4635.tar.xz glibc-cf92721befb557cecc82a862d3ac8cb6b47d4635.zip |
benchtests: Remove duplicated loop in bench-bzero-walk.c
Remove one of 2 identical loops in bench-bzero-walk.c. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'benchtests/bench-bzero-walk.c')
-rw-r--r-- | benchtests/bench-bzero-walk.c | 6 |
1 files changed, 0 insertions, 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); |